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.0008579/0.0008579, allocations: 89.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 183.2 kB / 16.92 MB, free: 6.691 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.385/1.385, allocations: 223.2 MB / 241 MB, free: 5.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7336/0.7336, allocations: 115.5 MB / 407.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 12.73 kB / 495.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1506, allocations: 77.53 MB / 0.56 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003806/0.1544, allocations: 2.763 MB / 0.5627 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.1572, allocations: 1.688 MB / 0.5643 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1574, allocations: 4 kB / 0.5643 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.1576, allocations: 47.64 kB / 0.5644 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005529/0.1581, allocations: 191.3 kB / 0.5645 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.1586, allocations: 163.7 kB / 0.5647 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005158/0.1592, allocations: 466.8 kB / 0.5651 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009215/0.1601, allocations: 0.5244 MB / 0.5657 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.1603, allocations: 115.5 kB / 0.5658 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.1607, allocations: 151.5 kB / 0.5659 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.1607, allocations: 12 kB / 0.5659 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.1612, allocations: 279.5 kB / 0.5662 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1613, allocations: 91.7 kB / 0.5663 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1614, allocations: 137.1 kB / 0.5664 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005154/0.162, allocations: 422.6 kB / 0.5668 GB, free: 1.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.162, allocations: 4 kB / 0.5668 GB, free: 1.941 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.162, allocations: 0 / 0.5668 GB, free: 1.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.162, allocations: 0 / 0.5668 GB, free: 1.941 MB / 430.1 MB 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.0008334/0.1628, allocations: 0.4913 MB / 0.5673 GB, free: 1.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1629, allocations: 12.03 kB / 0.5673 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007482/0.1636, allocations: 92.55 kB / 0.5674 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1639, allocations: 267.8 kB / 0.5676 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.164, allocations: 12.81 kB / 0.5677 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.1641, allocations: 28.55 kB / 0.5677 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.1646, allocations: 377.1 kB / 0.568 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1646, allocations: 0 / 0.568 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.1647, allocations: 7.984 kB / 0.5681 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.642e-05/0.1648, allocations: 40.36 kB / 0.5681 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.1653, allocations: 305.5 kB / 0.5684 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.167, allocations: 1.525 MB / 0.5699 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.1674, allocations: 238.4 kB / 0.5701 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.1676, allocations: 112.8 kB / 0.5702 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.1678, allocations: 89.09 kB / 0.5703 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1678, allocations: 30.56 kB / 0.5703 GB, free: 14.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.1678, allocations: 0 / 0.5703 GB, free: 14.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001237/0.169, allocations: 0.7942 MB / 0.5711 GB, free: 13.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1691, allocations: 59.3 kB / 0.5712 GB, free: 13.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1693, allocations: 194.5 kB / 0.5713 GB, free: 12.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.1693, allocations: 33.69 kB / 0.5714 GB, free: 12.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/0.1694, allocations: 163.8 kB / 0.5715 GB, free: 12.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.1695, allocations: 63.09 kB / 0.5716 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.1695, allocations: 25.72 kB / 0.5716 GB, free: 12.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1696, allocations: 342.7 kB / 0.5719 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.1698, allocations: 111.9 kB / 0.572 GB, free: 12.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.17, allocations: 170.9 kB / 0.5722 GB, free: 12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.1704, allocations: 305.7 kB / 0.5725 GB, free: 11.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1704, allocations: 0 / 0.5725 GB, free: 11.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007559/0.1712, allocations: 421 kB / 0.5729 GB, free: 11.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1712, allocations: 16.17 kB / 0.5729 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1712, allocations: 0 / 0.5729 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/0.1717, allocations: 96.77 kB / 0.573 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.172, allocations: 51.91 kB / 0.5731 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.1739, allocations: 1.738 MB / 0.5748 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1741, allocations: 16.02 kB / 0.5748 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.1742, allocations: 11.98 kB / 0.5748 GB, free: 9.191 MB / 446.1 MB 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.0001683/0.1743, allocations: 153.8 kB / 0.5749 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.1744, allocations: 19.75 kB / 0.5749 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/0.1749, allocations: 291.5 kB / 0.5752 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1749, allocations: 4 kB / 0.5752 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1749, allocations: 4.172 kB / 0.5752 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1749, allocations: 0 / 0.5752 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.1758, allocations: 0.7129 MB / 0.5759 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1758, allocations: 0 / 0.5759 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.1761, allocations: 63.89 kB / 0.576 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1762, allocations: 4.062 kB / 0.576 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.1762, allocations: 4 kB / 0.576 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1762, allocations: 0 / 0.576 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1762, allocations: 7.938 kB / 0.576 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.1768, allocations: 0.5103 MB / 0.5765 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1769, allocations: 112.9 kB / 0.5766 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.177, allocations: 16.05 kB / 0.5766 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.1772, allocations: 11.92 kB / 0.5766 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.1772, allocations: 15.98 kB / 0.5767 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1772, allocations: 4 kB / 0.5767 GB, free: 7.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1773, allocations: 144.1 kB / 0.5768 GB, free: 7.016 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1774, allocations: 0 / 0.5768 GB, free: 7.016 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.1777, allocations: 68 kB / 0.5769 GB, free: 6.949 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0001433/0.1779, allocations: 115.6 kB / 0.577 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006843/0.1786, allocations: 422.3 kB / 0.5774 GB, free: 6.398 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1786, allocations: 0 / 0.5774 GB, free: 6.398 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1788, allocations: 123.8 kB / 0.5775 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1792, allocations: 44.41 kB / 0.5775 GB, free: 6.234 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1804, allocations: 0.7619 MB / 0.5783 GB, free: 5.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.1807, allocations: 0.7638 MB / 0.579 GB, free: 4.656 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.1809, allocations: 61.91 kB / 0.5791 GB, free: 4.598 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.181, allocations: 27.42 kB / 0.5791 GB, free: 4.57 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.181, allocations: 0 / 0.5791 GB, free: 4.57 MB / 446.1 MB Notification: Performance of Templates: time 0.005873/0.1869, allocations: 2.626 MB / 0.5817 GB, free: 1.969 MB / 446.1 MB 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)