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.001183/0.001183, allocations: 101.6 kB / 16.4 MB, free: 6.484 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.001303/0.001303, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.721/0.721, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 64.45 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1498, allocations: 76.18 MB / 0.6316 GB, free: 4.84 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004121/0.154, allocations: 2.491 MB / 0.634 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1555, allocations: 0.7751 MB / 0.6347 GB, free: 1.555 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1557, allocations: 8 kB / 0.6348 GB, free: 1.547 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.157, allocations: 0.5207 MB / 0.6353 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.1573, allocations: 111.5 kB / 0.6354 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.1576, allocations: 103.8 kB / 0.6355 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000308/0.158, allocations: 199.4 kB / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.1584, allocations: 165.5 kB / 0.6358 GB, free: 460 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1585, allocations: 83.75 kB / 0.6359 GB, free: 376 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.1588, allocations: 95.59 kB / 0.636 GB, free: 280 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.1588, allocations: 15.94 kB / 0.636 GB, free: 264 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.159, allocations: 111.8 kB / 0.6361 GB, free: 152 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.1591, allocations: 51.89 kB / 0.6362 GB, free: 100 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.987e-05/0.1592, allocations: 79.64 kB / 0.6362 GB, free: 20 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.1596, allocations: 216.2 kB / 0.6364 GB, free: 15.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1596, allocations: 3.938 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1596, allocations: 0 / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.1596, allocations: 0 / 0.6364 GB, free: 15.8 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.0006965/0.1603, allocations: 451.3 kB / 0.6369 GB, free: 15.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1603, allocations: 8.031 kB / 0.6369 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.651e-05/0.1604, allocations: 46.73 kB / 0.6369 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/0.1608, allocations: 48.7 kB / 0.637 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1611, allocations: 220.1 kB / 0.6372 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1611, allocations: 8.656 kB / 0.6372 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.1612, allocations: 12.38 kB / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.1615, allocations: 239 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1615, allocations: 0 / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.1616, allocations: 11.97 kB / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.1616, allocations: 12.28 kB / 0.6375 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.1618, allocations: 152.7 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.1629, allocations: 1.127 MB / 0.6387 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.182e-05/0.163, allocations: 38.56 kB / 0.6387 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.163, allocations: 20.86 kB / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.163, allocations: 0 / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.163, allocations: 38.5 kB / 0.6388 GB, free: 13.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.163, allocations: 0 / 0.6388 GB, free: 13.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002016/0.1633, allocations: 77.61 kB / 0.6389 GB, free: 13.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.1633, allocations: 51.41 kB / 0.6389 GB, free: 12.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.1634, allocations: 176.6 kB / 0.6391 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1635, allocations: 25.7 kB / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.1635, allocations: 143.4 kB / 0.6392 GB, free: 12.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1636, allocations: 19.8 kB / 0.6393 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.1636, allocations: 25.72 kB / 0.6393 GB, free: 12.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.1637, allocations: 322.8 kB / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.1638, allocations: 28.78 kB / 0.6396 GB, free: 12.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.1639, allocations: 93.38 kB / 0.6397 GB, free: 12.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.164, allocations: 125.3 kB / 0.6398 GB, free: 11.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.164, allocations: 0 / 0.6398 GB, free: 11.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001961/0.1642, allocations: 141.2 kB / 0.64 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1642, allocations: 8 kB / 0.64 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1642, allocations: 0 / 0.64 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1643, allocations: 7.938 kB / 0.64 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1644, allocations: 20 kB / 0.64 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.1644, allocations: 11.92 kB / 0.64 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.1645, allocations: 24.06 kB / 0.64 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1645, allocations: 8 kB / 0.64 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.678e-05/0.1646, allocations: 124.1 kB / 0.6402 GB, free: 11.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.896e-05/0.1647, allocations: 89.38 kB / 0.6403 GB, free: 11.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001259/0.1648, allocations: 129.2 kB / 0.6404 GB, free: 11.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.1648, allocations: 0 / 0.6404 GB, free: 11.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001804/0.165, allocations: 129.4 kB / 0.6405 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.165, allocations: 6.031 kB / 0.6405 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.165, allocations: 4 kB / 0.6405 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.165, allocations: 4.594 kB / 0.6405 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.1651, allocations: 39.86 kB / 0.6405 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1651, allocations: 4 kB / 0.6406 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.1652, allocations: 7.938 kB / 0.6406 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1652, allocations: 4 kB / 0.6406 GB, free: 11.11 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 8.963e-05/0.1653, allocations: 191.7 kB / 0.6407 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1653, allocations: 15.8 kB / 0.6408 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.1654, allocations: 20.86 kB / 0.6408 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1654, allocations: 0 / 0.6408 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1654, allocations: 4 kB / 0.6408 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1654, allocations: 0 / 0.6408 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.1658, allocations: 477 kB / 0.6412 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1658, allocations: 0 / 0.6412 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.1658, allocations: 4 kB / 0.6412 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1659, allocations: 4 kB / 0.6412 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1659, allocations: 8.109 kB / 0.6413 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1659, allocations: 4 kB / 0.6413 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1659, allocations: 0 / 0.6413 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.166, allocations: 115.4 kB / 0.6414 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.1661, allocations: 93 kB / 0.6415 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1661, allocations: 4 kB / 0.6415 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.517e-05/0.1661, allocations: 4 kB / 0.6415 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.1661, allocations: 0 / 0.6415 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.1662, allocations: 4 kB / 0.6415 GB, free: 10.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.235e-05/0.1663, allocations: 133.6 kB / 0.6416 GB, free: 9.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1663, allocations: 0 / 0.6416 GB, free: 9.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000332/0.1666, allocations: 55.78 kB / 0.6417 GB, free: 9.875 MB / 494.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.0003433/0.167, allocations: 0.646 MB / 0.6423 GB, free: 9.188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.1672, allocations: 112.1 kB / 0.6424 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1672, allocations: 4 kB / 0.6424 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.392e-05/0.1672, allocations: 15.98 kB / 0.6424 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.1675, allocations: 24.34 kB / 0.6424 GB, free: 9.039 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.1691, allocations: 1.735 MB / 0.6441 GB, free: 7.145 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1694, allocations: 0.7241 MB / 0.6448 GB, free: 6.395 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.267e-05/0.1694, allocations: 32.62 kB / 0.6449 GB, free: 6.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.1695, allocations: 31.42 kB / 0.6449 GB, free: 6.328 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1695, allocations: 0 / 0.6449 GB, free: 6.328 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.1871, allocations: 2.423 MB / 0.6473 GB, free: 4.004 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.257, allocations: 3.984 kB / 0.6473 GB, free: 4 MB / 494.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)