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.0007714/0.0007714, allocations: 96.03 kB / 15.68 MB, free: 488 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.0007617/0.0007617, allocations: 170.1 kB / 16.56 MB, free: 6.391 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.137/1.137, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5823/0.5823, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 8 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.122, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00218/0.1242, allocations: 2.101 MB / 0.5588 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009199/0.1252, allocations: 0.7093 MB / 0.5595 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.1252, allocations: 4 kB / 0.5595 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.771e-05/0.1253, allocations: 23.84 kB / 0.5595 GB, free: 8.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.1255, allocations: 63.81 kB / 0.5596 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.1258, allocations: 87.75 kB / 0.5596 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1259, allocations: 103.8 kB / 0.5597 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.1262, allocations: 167.5 kB / 0.5599 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.109e-05/0.1262, allocations: 55.83 kB / 0.5599 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1264, allocations: 59.7 kB / 0.56 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1264, allocations: 8 kB / 0.56 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1265, allocations: 59.83 kB / 0.5601 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.1266, allocations: 39.91 kB / 0.5601 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.1266, allocations: 53.64 kB / 0.5602 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.1268, allocations: 159.6 kB / 0.5603 GB, free: 7.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.1268, allocations: 4 kB / 0.5603 GB, free: 7.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1268, allocations: 0 / 0.5603 GB, free: 7.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.1268, allocations: 0 / 0.5603 GB, free: 7.973 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.0004452/0.1272, allocations: 419.1 kB / 0.5607 GB, free: 7.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.1273, allocations: 15.97 kB / 0.5607 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.1273, allocations: 50.55 kB / 0.5608 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.1277, allocations: 47.84 kB / 0.5608 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.1279, allocations: 210.8 kB / 0.561 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1279, allocations: 12.27 kB / 0.561 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1279, allocations: 12 kB / 0.561 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.1282, allocations: 223 kB / 0.5613 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1282, allocations: 7.875 kB / 0.5613 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.1282, allocations: 8 kB / 0.5613 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.1283, allocations: 20.27 kB / 0.5613 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.1285, allocations: 140.7 kB / 0.5614 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008544/0.1293, allocations: 1.13 MB / 0.5625 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.1294, allocations: 38.56 kB / 0.5626 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.1294, allocations: 11.98 kB / 0.5626 GB, free: 5.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.1295, allocations: 30.56 kB / 0.5626 GB, free: 5.352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1295, allocations: 0 / 0.5626 GB, free: 5.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001562/0.1296, allocations: 77.61 kB / 0.5627 GB, free: 5.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.1297, allocations: 55.41 kB / 0.5627 GB, free: 5.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1298, allocations: 173.3 kB / 0.5629 GB, free: 5.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.1298, allocations: 29.7 kB / 0.5629 GB, free: 4.988 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.1299, allocations: 143.4 kB / 0.5631 GB, free: 4.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.1299, allocations: 11.8 kB / 0.5631 GB, free: 4.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.1299, allocations: 4 kB / 0.5631 GB, free: 4.828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.13, allocations: 326.8 kB / 0.5634 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.13, allocations: 16 kB / 0.5634 GB, free: 4.484 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.1301, allocations: 97.42 kB / 0.5635 GB, free: 4.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.08e-05/0.1302, allocations: 31.92 kB / 0.5635 GB, free: 4.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1302, allocations: 8 kB / 0.5635 GB, free: 4.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001571/0.1303, allocations: 129.3 kB / 0.5637 GB, free: 4.184 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002798/0.1306, allocations: 0.9641 MB / 0.5646 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1306, allocations: 4 kB / 0.5646 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1307, allocations: 8 kB / 0.5646 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.274e-05/0.1308, allocations: 27.92 kB / 0.5646 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1308, allocations: 3.984 kB / 0.5646 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.1308, allocations: 15.84 kB / 0.5647 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.1309, allocations: 8 kB / 0.5647 GB, free: 3.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.972e-06/0.1309, allocations: 4 kB / 0.5647 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001205/0.131, allocations: 100.2 kB / 0.5648 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.131, allocations: 4 kB / 0.5648 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.131, allocations: 11.89 kB / 0.5648 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.1311, allocations: 27.97 kB / 0.5648 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1311, allocations: 4 kB / 0.5648 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.1312, allocations: 15.83 kB / 0.5648 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1312, allocations: 8 kB / 0.5648 GB, free: 2.906 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 9.991e-05/0.1313, allocations: 209 kB / 0.565 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.1313, allocations: 11.91 kB / 0.565 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.1313, allocations: 20.91 kB / 0.5651 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1313, allocations: 4 kB / 0.5651 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1313, allocations: 0 / 0.5651 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1314, allocations: 0 / 0.5651 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.1317, allocations: 469.1 kB / 0.5655 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1317, allocations: 128 / 0.5655 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.1318, allocations: 15.94 kB / 0.5655 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1318, allocations: 0 / 0.5655 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1318, allocations: 4 kB / 0.5655 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1318, allocations: 0 / 0.5655 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1318, allocations: 0 / 0.5655 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.1319, allocations: 148.7 kB / 0.5657 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.1319, allocations: 92.95 kB / 0.5658 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.132, allocations: 11.98 kB / 0.5658 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.132, allocations: 0 / 0.5658 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.132, allocations: 11.89 kB / 0.5658 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.132, allocations: 0 / 0.5658 GB, free: 1.781 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.986e-05/0.1321, allocations: 133.8 kB / 0.5659 GB, free: 1.652 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1321, allocations: 0 / 0.5659 GB, free: 1.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.1324, allocations: 55.75 kB / 0.566 GB, free: 1.598 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.000339/0.1328, allocations: 0.8854 MB / 0.5668 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.1329, allocations: 101 kB / 0.5669 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.133, allocations: 8 kB / 0.5669 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-05/0.133, allocations: 23.92 kB / 0.567 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.1332, allocations: 16.97 kB / 0.567 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1344, allocations: 2.311 MB / 0.5692 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.1347, allocations: 0.7319 MB / 0.5699 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.307e-05/0.1348, allocations: 24.62 kB / 0.57 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.1348, allocations: 35.42 kB / 0.57 GB, free: 13.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1348, allocations: 0 / 0.57 GB, free: 13.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.605/2.74, allocations: 2.124 MB / 0.5721 GB, free: 11.31 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/2.74, allocations: 184.5 kB / 0.5723 GB, free: 11.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/4.417, allocations: 2.391 kB / 0.5723 GB, free: 11.07 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: