Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 114.8 kB / 17.09 MB, free: 5.961 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.001684/0.001684, allocations: 197.5 kB / 18.03 MB, free: 5.035 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.441/1.441, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8848/0.8848, allocations: 126.1 MB / 417.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 62.23 kB / 0.5737 GB, free: 27.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1522, allocations: 78.71 MB / 0.6506 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004767/0.157, allocations: 3.064 MB / 0.6536 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.1598, allocations: 1.73 MB / 0.6553 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.16, allocations: 4 kB / 0.6553 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1611, allocations: 340.3 kB / 0.6556 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005732/0.1617, allocations: 211.1 kB / 0.6558 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.1622, allocations: 179.6 kB / 0.656 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.1627, allocations: 323 kB / 0.6563 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.1631, allocations: 236.6 kB / 0.6565 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.1634, allocations: 139.6 kB / 0.6566 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.1637, allocations: 163.4 kB / 0.6568 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.1638, allocations: 20 kB / 0.6568 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.1643, allocations: 247.5 kB / 0.6571 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1644, allocations: 99.72 kB / 0.6572 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1646, allocations: 119.5 kB / 0.6573 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.1652, allocations: 430.5 kB / 0.6577 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1652, allocations: 0 / 0.6577 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1653, allocations: 0 / 0.6577 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.1653, allocations: 0 / 0.6577 GB, free: 12.84 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001048/0.1663, allocations: 0.5531 MB / 0.6582 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1664, allocations: 12.02 kB / 0.6582 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008041/0.1672, allocations: 100.6 kB / 0.6583 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1675, allocations: 255.9 kB / 0.6586 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1676, allocations: 16.8 kB / 0.6586 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.1677, allocations: 28.56 kB / 0.6586 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.1682, allocations: 381.1 kB / 0.659 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1683, allocations: 0 / 0.659 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.1683, allocations: 8 kB / 0.659 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.1684, allocations: 28.42 kB / 0.659 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005007/0.1689, allocations: 305.5 kB / 0.6593 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.1707, allocations: 1.526 MB / 0.6608 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.1712, allocations: 234.3 kB / 0.661 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.1714, allocations: 116.8 kB / 0.6611 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.1715, allocations: 89.09 kB / 0.6612 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1716, allocations: 30.56 kB / 0.6612 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.1716, allocations: 0 / 0.6612 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001253/0.1728, allocations: 0.8017 MB / 0.662 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.1729, allocations: 51.41 kB / 0.6621 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.173, allocations: 190.6 kB / 0.6623 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1731, allocations: 29.7 kB / 0.6623 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.1732, allocations: 164.2 kB / 0.6624 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.1732, allocations: 75.31 kB / 0.6625 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.1733, allocations: 53.7 kB / 0.6626 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1735, allocations: 334.8 kB / 0.6629 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.1736, allocations: 119.9 kB / 0.663 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1738, allocations: 163 kB / 0.6632 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.1742, allocations: 301.3 kB / 0.6634 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1742, allocations: 0 / 0.6634 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007361/0.175, allocations: 418 kB / 0.6638 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.175, allocations: 11.94 kB / 0.6639 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.175, allocations: 0 / 0.6639 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/0.1754, allocations: 100.8 kB / 0.6639 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.1757, allocations: 52.03 kB / 0.664 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.1775, allocations: 1.879 MB / 0.6658 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.1778, allocations: 11.98 kB / 0.6658 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.1778, allocations: 12.12 kB / 0.6659 GB, free: 3.887 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.1779, allocations: 160.4 kB / 0.666 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.178, allocations: 23.92 kB / 0.666 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/0.1785, allocations: 299.9 kB / 0.6663 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1785, allocations: 0 / 0.6663 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1785, allocations: 7.922 kB / 0.6663 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-05/0.1786, allocations: 116.9 kB / 0.6664 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.1786, allocations: 11.92 kB / 0.6664 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1788, allocations: 19.92 kB / 0.6665 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.1789, allocations: 11.98 kB / 0.6665 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007093/0.1796, allocations: 394.8 kB / 0.6669 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006012/0.1802, allocations: 0.5843 MB / 0.6674 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001522/0.1803, allocations: 121.5 kB / 0.6675 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001369/0.1805, allocations: 148.1 kB / 0.6677 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of Backend: time 6.42e-07/0.1805, allocations: 4 kB / 0.6677 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.1816, allocations: 0.5142 MB / 0.6682 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001001/0.1826, allocations: 0.9856 MB / 0.6692 GB, free: 400 kB / 0.4981 GB Notification: Performance of Templates: time 0.008318/0.191, allocations: 4.524 MB / 0.6736 GB, free: 11.88 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)