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: "" <> buildModelFMU(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000769/0.0007691, allocations: 98.81 kB / 16.02 MB, free: 80 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.0009243/0.0009243, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.301/1.301, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6521/0.6521, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 10.44 kB / 496 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1541, allocations: 77.53 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002865/0.157, allocations: 2.182 MB / 0.5622 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1584, allocations: 0.7713 MB / 0.5629 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1585, allocations: 4 kB / 0.5629 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.1587, allocations: 27.78 kB / 0.563 GB, free: 5.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.1591, allocations: 95.61 kB / 0.563 GB, free: 5.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.1594, allocations: 106.8 kB / 0.5632 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.1598, allocations: 295.3 kB / 0.5634 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.1602, allocations: 183.5 kB / 0.5636 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1603, allocations: 63.72 kB / 0.5637 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.1606, allocations: 87.66 kB / 0.5638 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.1606, allocations: 11.98 kB / 0.5638 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.1609, allocations: 139.7 kB / 0.5639 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.1609, allocations: 43.88 kB / 0.5639 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.303e-05/0.161, allocations: 93.38 kB / 0.564 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.1613, allocations: 223.3 kB / 0.5642 GB, free: 4.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1613, allocations: 0 / 0.5642 GB, free: 4.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1613, allocations: 3.938 kB / 0.5642 GB, free: 4.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1614, allocations: 0 / 0.5642 GB, free: 4.617 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005862/0.1619, allocations: 419.3 kB / 0.5646 GB, free: 4.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.162, allocations: 8.031 kB / 0.5647 GB, free: 4.145 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.439e-05/0.1621, allocations: 54.72 kB / 0.5647 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.1625, allocations: 44.72 kB / 0.5647 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1627, allocations: 216.1 kB / 0.565 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1627, allocations: 8.656 kB / 0.565 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1628, allocations: 12.38 kB / 0.565 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.1632, allocations: 227.5 kB / 0.5652 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1632, allocations: 3.938 kB / 0.5652 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.1632, allocations: 8 kB / 0.5652 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.1632, allocations: 16.27 kB / 0.5652 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.1635, allocations: 152.6 kB / 0.5654 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.1646, allocations: 1.13 MB / 0.5665 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.332e-05/0.1647, allocations: 42.56 kB / 0.5665 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.1647, allocations: 12.86 kB / 0.5665 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.1647, allocations: 4 kB / 0.5665 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1648, allocations: 38.5 kB / 0.5666 GB, free: 1.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1648, allocations: 0 / 0.5666 GB, free: 1.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000199/0.165, allocations: 77.66 kB / 0.5666 GB, free: 1.891 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.165, allocations: 55.34 kB / 0.5667 GB, free: 1.824 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1652, allocations: 173.6 kB / 0.5669 GB, free: 1.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1652, allocations: 29.7 kB / 0.5669 GB, free: 1.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.1653, allocations: 143.3 kB / 0.567 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.1653, allocations: 11.89 kB / 0.567 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.1654, allocations: 17.72 kB / 0.567 GB, free: 1.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1655, allocations: 326.8 kB / 0.5674 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.1655, allocations: 23.98 kB / 0.5674 GB, free: 1.082 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.1656, allocations: 93.38 kB / 0.5675 GB, free: 0.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1658, allocations: 125.3 kB / 0.5676 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1658, allocations: 0 / 0.5676 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001925/0.166, allocations: 133.6 kB / 0.5677 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-05/0.1661, allocations: 167.5 kB / 0.5679 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1661, allocations: 4 kB / 0.5679 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1661, allocations: 4 kB / 0.5679 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1662, allocations: 27.92 kB / 0.5679 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1662, allocations: 4 kB / 0.5679 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.1663, allocations: 19.75 kB / 0.5679 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1663, allocations: 4 kB / 0.5679 GB, free: 412 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-06/0.1664, allocations: 8 kB / 0.5679 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001426/0.1665, allocations: 99.7 kB / 0.568 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.1665, allocations: 0 / 0.568 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/0.1665, allocations: 4 kB / 0.568 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.1666, allocations: 27.92 kB / 0.5681 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1666, allocations: 4 kB / 0.5681 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.1667, allocations: 20.16 kB / 0.5681 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1667, allocations: 11.94 kB / 0.5681 GB, free: 236 kB / 430.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.0001173/0.1668, allocations: 213 kB / 0.5683 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.1669, allocations: 7.906 kB / 0.5683 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.1669, allocations: 12.98 kB / 0.5683 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1669, allocations: 0 / 0.5683 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1669, allocations: 3.938 kB / 0.5683 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1669, allocations: 3.938 kB / 0.5683 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.1673, allocations: 473.2 kB / 0.5688 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1674, allocations: 7.938 kB / 0.5688 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.1674, allocations: 11.88 kB / 0.5688 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1674, allocations: 0 / 0.5688 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1674, allocations: 4 kB / 0.5688 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1674, allocations: 0 / 0.5688 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1674, allocations: 4.062 kB / 0.5688 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.1676, allocations: 119.4 kB / 0.5689 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.1676, allocations: 96.89 kB / 0.569 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1676, allocations: 0 / 0.569 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.687e-05/0.1677, allocations: 4 kB / 0.569 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.1677, allocations: 11.98 kB / 0.569 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1677, allocations: 0 / 0.569 GB, free: 15.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.161e-05/0.1678, allocations: 125.6 kB / 0.5692 GB, free: 15.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1678, allocations: 0 / 0.5692 GB, free: 15.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000336/0.1682, allocations: 51.84 kB / 0.5692 GB, free: 14.98 MB / 446.1 MB 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.0003445/0.1685, allocations: 0.6503 MB / 0.5698 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1687, allocations: 108.9 kB / 0.5699 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1687, allocations: 4.125 kB / 0.5699 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.1688, allocations: 15.94 kB / 0.57 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.169, allocations: 19.98 kB / 0.57 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.1707, allocations: 1.771 MB / 0.5717 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.171, allocations: 0.7202 MB / 0.5724 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.926e-05/0.1711, allocations: 36.33 kB / 0.5724 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.1711, allocations: 35.42 kB / 0.5725 GB, free: 11.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.615e-06/0.1711, allocations: 0 / 0.5725 GB, free: 11.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.1828, allocations: 2.151 MB / 0.5746 GB, free: 9.402 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.183, allocations: 209.5 kB / 0.5748 GB, free: 9.145 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.797, allocations: 0 / 0.5748 GB, free: 9.145 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)