Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 211 kB / 23.78 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9725/0.9725, allocations: 150 MB / 464 MB, free: 10.2 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 60.5 kB / 0.642 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1999, allocations: 89.17 MB / 0.729 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5678/0.7677, allocations: 171.8 MB / 0.8968 GB, free: 9.855 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.7791, allocations: 6.566 MB / 0.9032 GB, free: 3.281 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.7806, allocations: 59.44 kB / 0.9033 GB, free: 3.223 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.7825, allocations: 0.6947 MB / 0.904 GB, free: 2.523 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006733/0.7892, allocations: 2.416 MB / 0.9063 GB, free: 100 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003604/0.7928, allocations: 1.479 MB / 0.9078 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004424/0.7972, allocations: 3.025 MB / 0.9107 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.7985, allocations: 0.7032 MB / 0.9114 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/0.8026, allocations: 1.65 MB / 0.913 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.8044, allocations: 0.8368 MB / 0.9138 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.8046, allocations: 100 kB / 0.9139 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.8081, allocations: 1.687 MB / 0.9156 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005523/0.8087, allocations: 382.7 kB / 0.9159 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008187/0.8095, allocations: 477.7 kB / 0.9164 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004189/0.8137, allocations: 2.344 MB / 0.9187 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8137, allocations: 0 / 0.9187 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8137, allocations: 0 / 0.9187 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.8137, allocations: 0 / 0.9187 GB, free: 3.449 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00342/0.8171, allocations: 1.6 MB / 0.9202 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.8172, allocations: 8.031 kB / 0.9202 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.473e-05/0.8172, allocations: 17.31 kB / 0.9203 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.8174, allocations: 114.5 kB / 0.9204 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/0.8204, allocations: 0.5455 MB / 0.9209 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.8226, allocations: 0.9664 MB / 0.9218 GB, free: 120 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.8227, allocations: 53.3 kB / 0.9219 GB, free: 68 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.8228, allocations: 68.2 kB / 0.922 GB, free: 16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.8254, allocations: 1.246 MB / 0.9232 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.8254, allocations: 0 / 0.9232 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-05/0.8255, allocations: 27.98 kB / 0.9232 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/0.8255, allocations: 33.31 kB / 0.9232 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/0.8286, allocations: 1.193 MB / 0.9244 GB, free: 13.43 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005765/0.8343, allocations: 2.876 MB / 0.9272 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.8361, allocations: 0.6778 MB / 0.9279 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008079/0.8369, allocations: 427.8 kB / 0.9283 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004953/0.8374, allocations: 124.3 kB / 0.9284 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.8385, allocations: 0.6472 MB / 0.929 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.205e-06/0.8385, allocations: 4 kB / 0.929 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003103/0.8416, allocations: 1.287 MB / 0.9303 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/0.8417, allocations: 144.8 kB / 0.9304 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.8436, allocations: 1.18 MB / 0.9316 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/0.8437, allocations: 41.7 kB / 0.9316 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.8441, allocations: 445.8 kB / 0.932 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.8443, allocations: 198.3 kB / 0.9322 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.8446, allocations: 138.2 kB / 0.9324 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8447, allocations: 334 kB / 0.9327 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.8459, allocations: 470.7 kB / 0.9331 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.8475, allocations: 0.9745 MB / 0.9341 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.8496, allocations: 0.9293 MB / 0.935 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.8496, allocations: 5.125 kB / 0.935 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003132/0.8527, allocations: 1.241 MB / 0.9362 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.8528, allocations: 41.69 kB / 0.9363 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.8528, allocations: 4 kB / 0.9363 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.8528, allocations: 7.938 kB / 0.9363 GB, free: 0.8086 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/0.8538, allocations: 188 kB / 0.9364 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.8538, allocations: 15.91 kB / 0.9365 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.8552, allocations: 244.1 kB / 0.9367 GB, free: 380 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/0.8553, allocations: 43.97 kB / 0.9367 GB, free: 336 kB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0005667/0.8559, allocations: 329.3 kB / 0.937 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.8561, allocations: 123.2 kB / 0.9372 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.8583, allocations: 1.027 MB / 0.9382 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.8583, allocations: 11.94 kB / 0.9382 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.8583, allocations: 3.938 kB / 0.9382 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.8583, allocations: 3.984 kB / 0.9382 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004911/0.8632, allocations: 3.003 MB / 0.9411 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.8632, allocations: 15.98 kB / 0.9411 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.8639, allocations: 124 kB / 0.9413 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.8639, allocations: 8 kB / 0.9413 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.8639, allocations: 31.92 kB / 0.9413 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/0.8639, allocations: 11.94 kB / 0.9413 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/0.8639, allocations: 11.94 kB / 0.9413 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.8662, allocations: 1.395 MB / 0.9427 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005542/0.8668, allocations: 262.9 kB / 0.9429 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.8669, allocations: 20 kB / 0.9429 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.868, allocations: 107.9 kB / 0.9431 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.8682, allocations: 59.69 kB / 0.9431 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/0.8682, allocations: 39.97 kB / 0.9431 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001512/0.8698, allocations: 0.8443 MB / 0.944 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8698, allocations: 0 / 0.944 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00106/0.8708, allocations: 299.7 kB / 0.9443 GB, free: 8.312 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.003038/0.8739, allocations: 2.165 MB / 0.9464 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.8762, allocations: 1.036 MB / 0.9474 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.8763, allocations: 0 / 0.9474 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009506/0.8772, allocations: 0.5094 MB / 0.9479 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.8798, allocations: 0.5514 MB / 0.9484 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/0.8964, allocations: 9.591 MB / 0.9578 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.8969, allocations: 482.6 kB / 0.9582 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00101/0.8979, allocations: 272.3 kB / 0.9585 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/0.8985, allocations: 359.3 kB / 0.9588 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of SimCode: time 8.31e-07/0.8985, allocations: 3.938 kB / 0.9589 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06708/0.9655, allocations: 34.15 MB / 0.9922 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.26, allocations: 15 kB / 0.9922 GB, free: 7.16 MB / 0.7637 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.201013632002287] Failed to read output from testmodel.py, exit status != 0: 15.448049103957601 15.475278353 14.656364278 Calling exit ...