Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",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.0006888/0.000689, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007415/0.0007415, allocations: 172.1 kB / 16.58 MB, free: 5.938 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.172/1.172, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6032/0.6032, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002807, allocations: 11.98 kB / 493.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1175, allocations: 77.11 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002282/0.1198, allocations: 2.177 MB / 0.559 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1209, allocations: 0.8458 MB / 0.5598 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.121, allocations: 15.88 kB / 0.5599 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1212, allocations: 39.64 kB / 0.5599 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.1213, allocations: 35.61 kB / 0.5599 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.1216, allocations: 133.2 kB / 0.5601 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.1219, allocations: 387.7 kB / 0.5604 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.1222, allocations: 148.4 kB / 0.5606 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.1222, allocations: 79.47 kB / 0.5606 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1224, allocations: 99.3 kB / 0.5607 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1224, allocations: 8 kB / 0.5607 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.163e-05/0.1224, allocations: 8 kB / 0.5607 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.1225, allocations: 35.73 kB / 0.5608 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.109e-05/0.1225, allocations: 97.5 kB / 0.5609 GB, free: 7.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.1229, allocations: 491 kB / 0.5613 GB, free: 7.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1229, allocations: 0 / 0.5613 GB, free: 7.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1229, allocations: 0 / 0.5613 GB, free: 7.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1229, allocations: 0 / 0.5613 GB, free: 7.102 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006558/0.1235, allocations: 0.5882 MB / 0.5619 GB, free: 6.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1236, allocations: 12.03 kB / 0.5619 GB, free: 6.453 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/0.1237, allocations: 58.55 kB / 0.562 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.1237, allocations: 39.53 kB / 0.562 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1241, allocations: 366.2 kB / 0.5624 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.1241, allocations: 24.56 kB / 0.5624 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.1241, allocations: 35.94 kB / 0.5624 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.1246, allocations: 321.4 kB / 0.5627 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1247, allocations: 0 / 0.5627 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.1247, allocations: 16 kB / 0.5628 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.1247, allocations: 8 kB / 0.5628 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.1251, allocations: 250.1 kB / 0.563 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.1264, allocations: 1.174 MB / 0.5641 GB, free: 4.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.1268, allocations: 246.8 kB / 0.5644 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.127, allocations: 104.8 kB / 0.5645 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.127, allocations: 4 kB / 0.5645 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1271, allocations: 34.56 kB / 0.5645 GB, free: 3.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.1271, allocations: 0 / 0.5645 GB, free: 3.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005808/0.1276, allocations: 314.7 kB / 0.5648 GB, free: 3.348 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1277, allocations: 88.98 kB / 0.5649 GB, free: 3.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.128, allocations: 324.5 kB / 0.5652 GB, free: 2.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.128, allocations: 33.7 kB / 0.5652 GB, free: 2.871 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1281, allocations: 196.1 kB / 0.5654 GB, free: 2.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1282, allocations: 55.19 kB / 0.5655 GB, free: 2.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.1282, allocations: 4 kB / 0.5655 GB, free: 2.617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1283, allocations: 346.8 kB / 0.5658 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.1285, allocations: 83.97 kB / 0.5659 GB, free: 2.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.1287, allocations: 123.4 kB / 0.566 GB, free: 2.055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1288, allocations: 89.86 kB / 0.5661 GB, free: 1.969 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1288, allocations: 4.031 kB / 0.5661 GB, free: 1.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004069/0.1293, allocations: 261.1 kB / 0.5664 GB, free: 1.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.1293, allocations: 113.4 kB / 0.5665 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1293, allocations: 0 / 0.5665 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1293, allocations: 3.953 kB / 0.5665 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.1295, allocations: 43.91 kB / 0.5665 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1295, allocations: 3.984 kB / 0.5665 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1296, allocations: 23.84 kB / 0.5665 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1297, allocations: 8 kB / 0.5665 GB, free: 1.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-06/0.1297, allocations: 4 kB / 0.5665 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002735/0.13, allocations: 175.8 kB / 0.5667 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.13, allocations: 0 / 0.5667 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-06/0.13, allocations: 4 kB / 0.5667 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1301, allocations: 27.92 kB / 0.5667 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1301, allocations: 4 kB / 0.5667 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.1302, allocations: 27.84 kB / 0.5668 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1302, allocations: 4 kB / 0.5668 GB, free: 1.258 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001601/0.1304, allocations: 245.7 kB / 0.567 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.1304, allocations: 31.62 kB / 0.567 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.1305, allocations: 35.27 kB / 0.5671 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1305, allocations: 0 / 0.5671 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1305, allocations: 7.938 kB / 0.5671 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1305, allocations: 0 / 0.5671 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.1309, allocations: 417.2 kB / 0.5675 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1309, allocations: 4 kB / 0.5675 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.1311, allocations: 23.98 kB / 0.5675 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1311, allocations: 3.984 kB / 0.5675 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1311, allocations: 4 kB / 0.5675 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1311, allocations: 0 / 0.5675 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1311, allocations: 0 / 0.5675 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/0.1317, allocations: 459.8 kB / 0.568 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.1318, allocations: 132.6 kB / 0.5681 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.1319, allocations: 12 kB / 0.5681 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.132, allocations: 15.98 kB / 0.5681 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.1321, allocations: 7.984 kB / 0.5681 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.1321, allocations: 4 kB / 0.5681 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.1323, allocations: 235.1 kB / 0.5683 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1323, allocations: 0 / 0.5683 GB, free: 15.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000346/0.1326, allocations: 91.59 kB / 0.5684 GB, free: 15.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0008264/0.1335, allocations: 0.9886 MB / 0.5694 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005075/0.134, allocations: 301.5 kB / 0.5697 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.134, allocations: 0 / 0.5697 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.1342, allocations: 103.9 kB / 0.5698 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.1346, allocations: 71.23 kB / 0.5699 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.1373, allocations: 1.788 MB / 0.5716 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.1376, allocations: 0.7755 MB / 0.5724 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1377, allocations: 30.28 kB / 0.5724 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.1379, allocations: 103.4 kB / 0.5725 GB, free: 11.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1379, allocations: 0 / 0.5725 GB, free: 11.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.1525, allocations: 6.051 MB / 0.5784 GB, free: 5.367 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.1528, allocations: 189.6 kB / 0.5786 GB, free: 5.125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/1.715, allocations: 0 / 0.5786 GB, free: 5.125 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) Environment - environmentSimulation: