Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001382/0.001382, allocations: 115.2 kB / 17.09 MB, free: 5.988 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.001419/0.001419, allocations: 200.2 kB / 18.03 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.698/0.698, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 66.7 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1568, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004211/0.1611, allocations: 2.479 MB / 0.6351 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1626, allocations: 0.7829 MB / 0.6359 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1627, allocations: 4 kB / 0.6359 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.1639, allocations: 0.5219 MB / 0.6364 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1643, allocations: 115.5 kB / 0.6365 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.1646, allocations: 111.7 kB / 0.6366 GB, free: 408 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.1649, allocations: 191.4 kB / 0.6368 GB, free: 216 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.1652, allocations: 170 kB / 0.637 GB, free: 36 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1654, allocations: 79.86 kB / 0.6371 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.1656, allocations: 99.48 kB / 0.6372 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.1656, allocations: 12 kB / 0.6372 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.1658, allocations: 111.8 kB / 0.6373 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.1659, allocations: 43.89 kB / 0.6373 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.166, allocations: 75.66 kB / 0.6374 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1663, allocations: 227.3 kB / 0.6376 GB, free: 15.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1663, allocations: 0 / 0.6376 GB, free: 15.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1663, allocations: 0 / 0.6376 GB, free: 15.4 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1663, allocations: 0 / 0.6376 GB, free: 15.4 MB / 494.1 MB 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.0006386/0.167, allocations: 443.3 kB / 0.638 GB, free: 14.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.167, allocations: 16.02 kB / 0.638 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.1674, allocations: 44.72 kB / 0.6381 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1677, allocations: 220.1 kB / 0.6383 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1677, allocations: 8.656 kB / 0.6383 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1677, allocations: 20.3 kB / 0.6383 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.1681, allocations: 231.2 kB / 0.6385 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1681, allocations: 0 / 0.6385 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.1682, allocations: 8 kB / 0.6385 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/0.1682, allocations: 16.27 kB / 0.6386 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.1685, allocations: 148.7 kB / 0.6387 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.1697, allocations: 1.131 MB / 0.6398 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.055e-05/0.1698, allocations: 34.56 kB / 0.6398 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.1698, allocations: 20.94 kB / 0.6399 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1698, allocations: 3.938 kB / 0.6399 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1699, allocations: 34.56 kB / 0.6399 GB, free: 12.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1699, allocations: 0 / 0.6399 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002108/0.1701, allocations: 73.53 kB / 0.64 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.1701, allocations: 55.41 kB / 0.64 GB, free: 12.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1703, allocations: 176.6 kB / 0.6402 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1704, allocations: 25.7 kB / 0.6402 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.1704, allocations: 147.3 kB / 0.6404 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.1705, allocations: 15.81 kB / 0.6404 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.1705, allocations: 33.7 kB / 0.6404 GB, free: 12.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1707, allocations: 322.8 kB / 0.6407 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.1707, allocations: 24.86 kB / 0.6407 GB, free: 11.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.339e-05/0.1708, allocations: 97.36 kB / 0.6408 GB, free: 11.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.171, allocations: 121.3 kB / 0.6409 GB, free: 11.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.171, allocations: 0 / 0.6409 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000202/0.1712, allocations: 137.5 kB / 0.6411 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1712, allocations: 8 kB / 0.6411 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1712, allocations: 4 kB / 0.6411 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1712, allocations: 320 / 0.6411 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1714, allocations: 35.86 kB / 0.6411 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.1714, allocations: 4 kB / 0.6411 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.265e-05/0.1715, allocations: 23.75 kB / 0.6411 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1715, allocations: 4 kB / 0.6412 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001098/0.1716, allocations: 124.8 kB / 0.6413 GB, free: 11.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.242e-05/0.1717, allocations: 92.06 kB / 0.6414 GB, free: 11.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001262/0.1718, allocations: 125.2 kB / 0.6415 GB, free: 10.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.1718, allocations: 0 / 0.6415 GB, free: 10.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001745/0.172, allocations: 133.6 kB / 0.6416 GB, free: 10.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.172, allocations: 8 kB / 0.6416 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.172, allocations: 3.938 kB / 0.6416 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-06/0.172, allocations: 4 kB / 0.6416 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.1721, allocations: 28 kB / 0.6416 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1721, allocations: 11.92 kB / 0.6417 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.642e-05/0.1722, allocations: 11.88 kB / 0.6417 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1722, allocations: 4 kB / 0.6417 GB, free: 10.77 MB / 494.1 MB 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.0001118/0.1723, allocations: 188.2 kB / 0.6419 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1724, allocations: 15.88 kB / 0.6419 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.1724, allocations: 12.94 kB / 0.6419 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1724, allocations: 3.938 kB / 0.6419 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.1724, allocations: 3.984 kB / 0.6419 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.1725, allocations: 92.95 kB / 0.642 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1725, allocations: 4 kB / 0.642 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.1726, allocations: 0 / 0.642 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.1726, allocations: 3.984 kB / 0.642 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000132/0.1727, allocations: 132.9 kB / 0.6421 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000171/0.1729, allocations: 246.7 kB / 0.6423 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.207e-05/0.1729, allocations: 8 kB / 0.6424 GB, free: 10.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1731, allocations: 133.6 kB / 0.6425 GB, free: 9.883 MB / 494.1 MB Notification: Performance of Backend: time 8.62e-07/0.1731, allocations: 0 / 0.6425 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006414/0.1737, allocations: 247.9 kB / 0.6427 GB, free: 9.633 MB / 494.1 MB Notification: Performance of SimCode: time 0.0007661/0.1745, allocations: 0.6978 MB / 0.6434 GB, free: 8.887 MB / 494.1 MB Notification: Performance of Templates: time 0.004422/0.1789, allocations: 1.541 MB / 0.6449 GB, free: 7.352 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)