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.001342/0.001342, allocations: 108.6 kB / 16.41 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.001321/0.001321, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.128/1.128, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6534/0.6534, allocations: 122.9 MB / 414.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001049, allocations: 59.55 kB / 0.5679 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1047, allocations: 77.95 MB / 0.644 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00297/0.1077, allocations: 2.591 MB / 0.6466 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1088, allocations: 0.904 MB / 0.6474 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.109, allocations: 11.94 kB / 0.6475 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.1091, allocations: 63.39 kB / 0.6475 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.1093, allocations: 75.27 kB / 0.6476 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.1096, allocations: 238.7 kB / 0.6478 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.11, allocations: 455.7 kB / 0.6483 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.1103, allocations: 229.7 kB / 0.6485 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1104, allocations: 143.3 kB / 0.6486 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1105, allocations: 147.2 kB / 0.6487 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.1106, allocations: 52 kB / 0.6488 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.985e-05/0.1106, allocations: 48 kB / 0.6488 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.1107, allocations: 95.7 kB / 0.6489 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1108, allocations: 187 kB / 0.6491 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.1112, allocations: 0.6188 MB / 0.6497 GB, free: 3.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1112, allocations: 7.938 kB / 0.6497 GB, free: 3.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1112, allocations: 0 / 0.6497 GB, free: 3.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1112, allocations: 0 / 0.6497 GB, free: 3.727 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000715/0.1119, allocations: 0.6351 MB / 0.6503 GB, free: 3.043 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.112, allocations: 12.03 kB / 0.6504 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.112, allocations: 62.72 kB / 0.6504 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.1121, allocations: 44.41 kB / 0.6505 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.1125, allocations: 395.2 kB / 0.6508 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1125, allocations: 20.94 kB / 0.6509 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.1125, allocations: 24.38 kB / 0.6509 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.113, allocations: 337.5 kB / 0.6512 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.113, allocations: 0 / 0.6512 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.1131, allocations: 12 kB / 0.6512 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1131, allocations: 4 kB / 0.6512 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.1135, allocations: 238.1 kB / 0.6514 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1146, allocations: 1.151 MB / 0.6526 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.1151, allocations: 226.7 kB / 0.6528 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.1152, allocations: 108.9 kB / 0.6529 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1153, allocations: 7.969 kB / 0.6529 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.1153, allocations: 30.56 kB / 0.6529 GB, free: 260 kB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.1153, allocations: 0 / 0.6529 GB, free: 260 kB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005537/0.1158, allocations: 303.9 kB / 0.6532 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.1159, allocations: 81.05 kB / 0.6533 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.1162, allocations: 332.5 kB / 0.6536 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1162, allocations: 25.7 kB / 0.6536 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1163, allocations: 204 kB / 0.6538 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.1163, allocations: 51.27 kB / 0.6539 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.1164, allocations: 37.7 kB / 0.6539 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.1165, allocations: 342.8 kB / 0.6542 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.1167, allocations: 96.78 kB / 0.6543 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.1169, allocations: 113.1 kB / 0.6544 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.1172, allocations: 198.2 kB / 0.6546 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1172, allocations: 4 kB / 0.6546 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003912/0.1176, allocations: 253.1 kB / 0.6549 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.1176, allocations: 4 kB / 0.6549 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1176, allocations: 0 / 0.6549 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1176, allocations: 8 kB / 0.6549 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1178, allocations: 35.91 kB / 0.6549 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1178, allocations: 3.938 kB / 0.6549 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1179, allocations: 27.84 kB / 0.6549 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1179, allocations: 4 kB / 0.655 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001973/0.1181, allocations: 200.1 kB / 0.6551 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001295/0.1183, allocations: 103.4 kB / 0.6552 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002222/0.1185, allocations: 164.7 kB / 0.6554 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.1185, allocations: 3.984 kB / 0.6554 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003027/0.1188, allocations: 229.1 kB / 0.6556 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.1188, allocations: 4 kB / 0.6556 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-06/0.1188, allocations: 0 / 0.6556 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-06/0.1188, allocations: 4 kB / 0.6556 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.119, allocations: 27.92 kB / 0.6557 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.119, allocations: 4 kB / 0.6557 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1191, allocations: 23.84 kB / 0.6557 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1191, allocations: 4 kB / 0.6557 GB, free: 13.3 MB / 0.4981 GB 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.oveWriAct_activate,expMod.oveWriSet_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.1192, allocations: 184.3 kB / 0.6559 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.1192, allocations: 35.61 kB / 0.6559 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.1193, allocations: 35.28 kB / 0.6559 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1193, allocations: 0 / 0.6559 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1193, allocations: 3.938 kB / 0.6559 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1193, allocations: 4 kB / 0.6559 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.1196, allocations: 401.3 kB / 0.6563 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1197, allocations: 4 kB / 0.6563 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1198, allocations: 31.92 kB / 0.6564 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1198, allocations: 0 / 0.6564 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1198, allocations: 0 / 0.6564 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1198, allocations: 4 kB / 0.6564 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1198, allocations: 3.938 kB / 0.6564 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.1204, allocations: 438.9 kB / 0.6568 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-05/0.1205, allocations: 132.6 kB / 0.6569 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.1206, allocations: 15.92 kB / 0.6569 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.1207, allocations: 8 kB / 0.6569 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.1207, allocations: 11.92 kB / 0.6569 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1208, allocations: 4 kB / 0.6569 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001821/0.1209, allocations: 235.1 kB / 0.6572 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1209, allocations: 0 / 0.6572 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000335/0.1213, allocations: 87.75 kB / 0.6573 GB, free: 11.61 MB / 0.4981 GB 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 (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.0007437/0.122, allocations: 0.9743 MB / 0.6582 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004778/0.1225, allocations: 291.8 kB / 0.6585 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1225, allocations: 0 / 0.6585 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.1227, allocations: 99.89 kB / 0.6586 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.1232, allocations: 90.62 kB / 0.6587 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.1262, allocations: 2.918 MB / 0.6615 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.1264, allocations: 0.7714 MB / 0.6623 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.1265, allocations: 30.22 kB / 0.6623 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.1267, allocations: 103.4 kB / 0.6624 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1267, allocations: 0 / 0.6624 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.144/1.271, allocations: 6.686 MB / 0.6689 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/11.59, allocations: 16.22 kB / 0.6689 GB, free: 15.63 MB / 0.5137 GB (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/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)