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.0007019/0.0007019, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007509/0.000751, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.191/1.191, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.605/0.605, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002749, allocations: 8 kB / 493.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1248, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002372/0.1272, allocations: 2.128 MB / 0.559 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1282, allocations: 0.7209 MB / 0.5597 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.1283, allocations: 7.938 kB / 0.5597 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.1285, allocations: 27.84 kB / 0.5597 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1287, allocations: 79.61 kB / 0.5598 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1289, allocations: 79.84 kB / 0.5599 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.1292, allocations: 227.3 kB / 0.5601 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.1294, allocations: 175.4 kB / 0.5602 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.292e-05/0.1295, allocations: 67.77 kB / 0.5603 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.1297, allocations: 91.7 kB / 0.5604 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1297, allocations: 4 kB / 0.5604 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1298, allocations: 55.91 kB / 0.5605 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.1299, allocations: 47.88 kB / 0.5605 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.1299, allocations: 49.64 kB / 0.5606 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1301, allocations: 163.6 kB / 0.5607 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1301, allocations: 0 / 0.5607 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1301, allocations: 0 / 0.5607 GB, free: 7.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1301, allocations: 0 / 0.5607 GB, free: 7.711 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.0004694/0.1306, allocations: 431.1 kB / 0.5611 GB, free: 7.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1306, allocations: 16.02 kB / 0.5611 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.1307, allocations: 42.56 kB / 0.5612 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.131, allocations: 43.8 kB / 0.5612 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1312, allocations: 214.8 kB / 0.5614 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1312, allocations: 12.27 kB / 0.5614 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1312, allocations: 16 kB / 0.5614 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.1316, allocations: 226.9 kB / 0.5617 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1316, allocations: 3.938 kB / 0.5617 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.1316, allocations: 7.984 kB / 0.5617 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.1316, allocations: 12.28 kB / 0.5617 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.1318, allocations: 148.7 kB / 0.5618 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009226/0.1328, allocations: 1.13 MB / 0.5629 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.1329, allocations: 42.56 kB / 0.563 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.1329, allocations: 16.86 kB / 0.563 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.1329, allocations: 0 / 0.563 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1329, allocations: 34.5 kB / 0.563 GB, free: 5.066 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1329, allocations: 0 / 0.563 GB, free: 5.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001709/0.1331, allocations: 77.67 kB / 0.5631 GB, free: 4.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.1332, allocations: 51.41 kB / 0.5631 GB, free: 4.922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1333, allocations: 181.3 kB / 0.5633 GB, free: 4.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.1333, allocations: 25.7 kB / 0.5633 GB, free: 4.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.1334, allocations: 139.4 kB / 0.5635 GB, free: 4.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1334, allocations: 15.8 kB / 0.5635 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.1334, allocations: 4 kB / 0.5635 GB, free: 4.543 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.1335, allocations: 326.8 kB / 0.5638 GB, free: 4.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.243e-05/0.1336, allocations: 12 kB / 0.5638 GB, free: 4.203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.1336, allocations: 101.4 kB / 0.5639 GB, free: 4.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.538e-05/0.1337, allocations: 31.98 kB / 0.5639 GB, free: 4.039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1337, allocations: 0 / 0.5639 GB, free: 4.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001691/0.1339, allocations: 133.3 kB / 0.5641 GB, free: 3.902 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.322e-05/0.134, allocations: 161.9 kB / 0.5642 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.134, allocations: 4 kB / 0.5642 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.134, allocations: 4 kB / 0.5642 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.1341, allocations: 32.16 kB / 0.5643 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1341, allocations: 11.89 kB / 0.5643 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.1342, allocations: 11.84 kB / 0.5643 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1342, allocations: 8 kB / 0.5643 GB, free: 3.637 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.18e-06/0.1342, allocations: 4 kB / 0.5643 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001337/0.1344, allocations: 107.7 kB / 0.5644 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.1344, allocations: 0 / 0.5644 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-06/0.1344, allocations: 4 kB / 0.5644 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.83e-05/0.1344, allocations: 23.94 kB / 0.5644 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1345, allocations: 7.984 kB / 0.5644 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.1345, allocations: 11.84 kB / 0.5644 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1345, allocations: 12.31 kB / 0.5645 GB, free: 3.469 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.1346, allocations: 217.7 kB / 0.5647 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.1347, allocations: 7.906 kB / 0.5647 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.1347, allocations: 12.94 kB / 0.5647 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1347, allocations: 0 / 0.5647 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1347, allocations: 3.938 kB / 0.5647 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1347, allocations: 0 / 0.5647 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.1351, allocations: 481 kB / 0.5651 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.1351, allocations: 4 kB / 0.5652 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.1352, allocations: 4 kB / 0.5652 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1352, allocations: 0 / 0.5652 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1352, allocations: 4 kB / 0.5652 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1352, allocations: 0 / 0.5652 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1352, allocations: 0 / 0.5652 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.1353, allocations: 119.6 kB / 0.5653 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.1354, allocations: 92.95 kB / 0.5654 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1354, allocations: 4 kB / 0.5654 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.084e-05/0.1354, allocations: 0 / 0.5654 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.1354, allocations: 7.984 kB / 0.5654 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1355, allocations: 4 kB / 0.5654 GB, free: 2.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.111e-05/0.1355, allocations: 129.8 kB / 0.5655 GB, free: 2.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1355, allocations: 4 kB / 0.5655 GB, free: 2.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1359, allocations: 59.7 kB / 0.5656 GB, free: 2.211 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003175/0.1362, allocations: 0.639 MB / 0.5662 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.1364, allocations: 108.8 kB / 0.5663 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1364, allocations: 0 / 0.5663 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.1364, allocations: 24.19 kB / 0.5663 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.1366, allocations: 19.98 kB / 0.5663 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009368/0.1376, allocations: 0.8049 MB / 0.5671 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1379, allocations: 0.7241 MB / 0.5678 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.77e-05/0.138, allocations: 24.62 kB / 0.5678 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.138, allocations: 39.42 kB / 0.5679 GB, free: 15.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.138, allocations: 0 / 0.5679 GB, free: 15.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01127/0.1493, allocations: 2.146 MB / 0.57 GB, free: 13.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.1495, allocations: 186.6 kB / 0.5702 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/1.678, allocations: 0 / 0.5702 GB, free: 13.45 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/linux/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) Environment - environmentSimulation: