Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 196.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 251.6 MB / 0.5089 GB, free: 3.289 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.66 kB / 0.6217 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5931/0.5945, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004919/0.5994, allocations: 2.558 MB / 0.7265 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.6009, allocations: 0.7635 MB / 0.7272 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.601, allocations: 4 kB / 0.7272 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.6024, allocations: 0.5668 MB / 0.7278 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.6027, allocations: 99.61 kB / 0.7279 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.6031, allocations: 95.83 kB / 0.728 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.6034, allocations: 195.4 kB / 0.7282 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004178/0.6038, allocations: 182.1 kB / 0.7283 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.6039, allocations: 87.62 kB / 0.7284 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.6042, allocations: 95.7 kB / 0.7285 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.6042, allocations: 12 kB / 0.7285 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.6044, allocations: 119.7 kB / 0.7286 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.494e-05/0.6045, allocations: 43.89 kB / 0.7287 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.857e-05/0.6046, allocations: 75.61 kB / 0.7287 GB, free: 8.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.6049, allocations: 237.2 kB / 0.729 GB, free: 7.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.6049, allocations: 0 / 0.729 GB, free: 7.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.605, allocations: 0 / 0.729 GB, free: 7.977 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.605, allocations: 7.938 kB / 0.729 GB, free: 7.969 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006428/0.6056, allocations: 439.2 kB / 0.7294 GB, free: 7.492 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.6057, allocations: 8.031 kB / 0.7294 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/0.6061, allocations: 52.8 kB / 0.7295 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.6064, allocations: 212.1 kB / 0.7297 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.6064, allocations: 12.64 kB / 0.7297 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.6064, allocations: 16.38 kB / 0.7297 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.6068, allocations: 227.2 kB / 0.7299 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6068, allocations: 3.984 kB / 0.7299 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.6069, allocations: 12 kB / 0.7299 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.6069, allocations: 12.28 kB / 0.7299 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.6072, allocations: 148.7 kB / 0.7301 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.6083, allocations: 1.122 MB / 0.7312 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.706e-05/0.6084, allocations: 38.56 kB / 0.7312 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.6085, allocations: 20.92 kB / 0.7312 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.6085, allocations: 7.938 kB / 0.7312 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.6085, allocations: 38.56 kB / 0.7313 GB, free: 5.363 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.6085, allocations: 0 / 0.7313 GB, free: 5.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002176/0.6087, allocations: 77.42 kB / 0.7313 GB, free: 5.281 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.6088, allocations: 55.41 kB / 0.7314 GB, free: 5.215 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.6089, allocations: 176.4 kB / 0.7316 GB, free: 5.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.609, allocations: 29.64 kB / 0.7316 GB, free: 5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.6091, allocations: 143.4 kB / 0.7317 GB, free: 4.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.6091, allocations: 19.8 kB / 0.7317 GB, free: 4.836 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.6092, allocations: 33.62 kB / 0.7318 GB, free: 4.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6093, allocations: 322.8 kB / 0.7321 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.023e-05/0.6093, allocations: 28.78 kB / 0.7321 GB, free: 4.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.769e-05/0.6094, allocations: 89.44 kB / 0.7322 GB, free: 4.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.6096, allocations: 121.3 kB / 0.7323 GB, free: 4.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6096, allocations: 0 / 0.7323 GB, free: 4.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001948/0.6098, allocations: 137.5 kB / 0.7324 GB, free: 4.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.6098, allocations: 5.875 kB / 0.7325 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6098, allocations: 7.984 kB / 0.7325 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.6099, allocations: 7.938 kB / 0.7325 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.61, allocations: 27.94 kB / 0.7325 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.61, allocations: 7.984 kB / 0.7325 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.827e-05/0.6101, allocations: 15.78 kB / 0.7325 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.6101, allocations: 8 kB / 0.7325 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001068/0.6102, allocations: 124.1 kB / 0.7326 GB, free: 3.824 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.844e-05/0.6103, allocations: 96.89 kB / 0.7327 GB, free: 3.699 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001258/0.6104, allocations: 117.2 kB / 0.7328 GB, free: 3.551 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.6104, allocations: 4 kB / 0.7329 GB, free: 3.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001633/0.6106, allocations: 129.4 kB / 0.733 GB, free: 3.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/0.6106, allocations: 11.94 kB / 0.733 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.6106, allocations: 4 kB / 0.733 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/0.6106, allocations: 4 kB / 0.733 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.6107, allocations: 23.98 kB / 0.733 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6107, allocations: 8.25 kB / 0.733 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.6108, allocations: 11.91 kB / 0.733 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.6108, allocations: 11.94 kB / 0.733 GB, free: 3.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.6109, allocations: 184.3 kB / 0.7332 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.6109, allocations: 11.84 kB / 0.7332 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.611, allocations: 16.92 kB / 0.7332 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.611, allocations: 3.938 kB / 0.7333 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.611, allocations: 0 / 0.7333 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.611, allocations: 0 / 0.7333 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.6115, allocations: 484.9 kB / 0.7337 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6115, allocations: 4 kB / 0.7337 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.6115, allocations: 4 kB / 0.7337 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6115, allocations: 288 / 0.7337 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.6115, allocations: 4 kB / 0.7337 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6115, allocations: 0 / 0.7337 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6115, allocations: 4.109 kB / 0.7337 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.6117, allocations: 119.5 kB / 0.7338 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.6117, allocations: 97 kB / 0.7339 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.6118, allocations: 0 / 0.7339 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.6118, allocations: 0 / 0.7339 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.6118, allocations: 8 kB / 0.7339 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.6118, allocations: 0 / 0.7339 GB, free: 2.293 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.238e-05/0.6119, allocations: 128 kB / 0.7341 GB, free: 2.168 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6119, allocations: 0 / 0.7341 GB, free: 2.168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003412/0.6123, allocations: 51.84 kB / 0.7341 GB, free: 2.117 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000137/0.6124, allocations: 103.2 kB / 0.7342 GB, free: 2.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.6127, allocations: 111.8 kB / 0.7343 GB, free: 1.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6127, allocations: 0 / 0.7343 GB, free: 1.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.614e-05/0.6127, allocations: 19.94 kB / 0.7343 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.613, allocations: 21.3 kB / 0.7344 GB, free: 1.855 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.6136, allocations: 331 kB / 0.7347 GB, free: 1.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.6139, allocations: 0.7241 MB / 0.7354 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.558e-05/0.614, allocations: 32.61 kB / 0.7354 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.614, allocations: 11.44 kB / 0.7354 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.614, allocations: 0 / 0.7354 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of Templates: time 0.003332/0.6174, allocations: 0.8418 MB / 0.7362 GB, free: 15.87 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)