Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.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.00129/0.00129, allocations: 119 kB / 19.69 MB, free: 2.199 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.001474/0.001474, allocations: 224.3 kB / 23.01 MB, free: 5.047 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9313/0.9313, allocations: 150 MB / 463.2 MB, free: 10.48 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.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",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.002303/0.002303, allocations: 67.45 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1871, allocations: 89.16 MB / 0.7283 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01892/0.206, allocations: 14.78 MB / 0.7428 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005762/0.2118, allocations: 3.67 MB / 0.7463 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000637/0.2124, allocations: 27.81 kB / 0.7464 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008048/0.2132, allocations: 218.7 kB / 0.7466 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.215, allocations: 0.622 MB / 0.7472 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.2161, allocations: 411.5 kB / 0.7476 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.2178, allocations: 1.134 MB / 0.7487 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005247/0.2184, allocations: 265 kB / 0.7489 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.2197, allocations: 450.5 kB / 0.7494 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006361/0.2204, allocations: 318.6 kB / 0.7497 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/0.2204, allocations: 36 kB / 0.7497 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007758/0.2212, allocations: 291.4 kB / 0.75 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.2214, allocations: 95.61 kB / 0.7501 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.2217, allocations: 218.9 kB / 0.7503 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.2229, allocations: 0.6189 MB / 0.7509 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2229, allocations: 0 / 0.7509 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.417e-06/0.2229, allocations: 4 kB / 0.7509 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.2229, allocations: 0 / 0.7509 GB, free: 10.07 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001392/0.2243, allocations: 0.6816 MB / 0.7516 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2243, allocations: 8.031 kB / 0.7516 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.081e-05/0.2244, allocations: 66.67 kB / 0.7516 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.2246, allocations: 52.64 kB / 0.7517 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008317/0.2254, allocations: 412 kB / 0.7521 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.2255, allocations: 16.5 kB / 0.7521 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.2255, allocations: 31.98 kB / 0.7521 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.2261, allocations: 313.3 kB / 0.7524 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.2261, allocations: 3.953 kB / 0.7524 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.2262, allocations: 12 kB / 0.7524 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.2262, allocations: 7.938 kB / 0.7524 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.2267, allocations: 189.8 kB / 0.7526 GB, free: 8.211 MB / 0.5762 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.002016/0.2287, allocations: 1.429 MB / 0.754 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.2291, allocations: 142.6 kB / 0.7542 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.2293, allocations: 60.81 kB / 0.7542 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.2294, allocations: 8 kB / 0.7542 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/0.2297, allocations: 135.2 kB / 0.7543 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.2297, allocations: 0 / 0.7543 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006691/0.2304, allocations: 232 kB / 0.7546 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.2304, allocations: 55.41 kB / 0.7546 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.2308, allocations: 353.6 kB / 0.755 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.2309, allocations: 33.7 kB / 0.755 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.231, allocations: 228 kB / 0.7552 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/0.2311, allocations: 51.53 kB / 0.7553 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.78e-05/0.2312, allocations: 57.66 kB / 0.7553 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2313, allocations: 346.8 kB / 0.7556 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.2315, allocations: 63.95 kB / 0.7557 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.2318, allocations: 153.4 kB / 0.7559 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.2323, allocations: 241 kB / 0.7561 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2323, allocations: 3.938 kB / 0.7561 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006417/0.2329, allocations: 314.8 kB / 0.7564 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.2329, allocations: 33.64 kB / 0.7564 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2329, allocations: 4.312 kB / 0.7564 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.233, allocations: 8 kB / 0.7564 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.2332, allocations: 63.89 kB / 0.7565 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2332, allocations: 4 kB / 0.7565 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.2335, allocations: 35.77 kB / 0.7565 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.2335, allocations: 8 kB / 0.7565 GB, free: 3.914 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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.000178/0.2337, allocations: 157.8 kB / 0.7567 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.2337, allocations: 39.7 kB / 0.7567 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.2342, allocations: 204.3 kB / 0.7569 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2342, allocations: 0 / 0.7569 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2342, allocations: 4 kB / 0.7569 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005273/0.2347, allocations: 491.7 kB / 0.7574 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.2352, allocations: 320.5 kB / 0.7577 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2352, allocations: 0 / 0.7577 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.2354, allocations: 35.92 kB / 0.7577 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.2354, allocations: 3.938 kB / 0.7577 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.2354, allocations: 3.984 kB / 0.7577 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.2354, allocations: 4 kB / 0.7577 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2354, allocations: 0 / 0.7577 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006388/0.236, allocations: 287.6 kB / 0.758 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2362, allocations: 51.77 kB / 0.7581 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.2362, allocations: 4 kB / 0.7581 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2364, allocations: 15.97 kB / 0.7581 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.2365, allocations: 23.91 kB / 0.7581 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2365, allocations: 4 kB / 0.7581 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002844/0.2368, allocations: 251.2 kB / 0.7584 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2368, allocations: 0 / 0.7584 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004671/0.2373, allocations: 131.6 kB / 0.7585 GB, free: 1.77 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0012/0.2385, allocations: 0.9113 MB / 0.7594 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.239, allocations: 229.7 kB / 0.7596 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.239, allocations: 0 / 0.7596 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.2392, allocations: 63.89 kB / 0.7596 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009114/0.2401, allocations: 216.2 kB / 0.7599 GB, free: 344 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3372/0.5773, allocations: 3.061 MB / 0.7628 GB, free: 34.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.5775, allocations: 0.7907 MB / 0.7636 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003077/0.5778, allocations: 60.42 kB / 0.7637 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.578, allocations: 115.4 kB / 0.7638 GB, free: 33.51 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.578, allocations: 0 / 0.7638 GB, free: 33.51 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04851/0.6265, allocations: 10.51 MB / 0.774 GB, free: 32.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.03, allocations: 1.594 kB / 0.774 GB, free: 32.67 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.7400639988482] Failed to read output from testmodel.py, exit status != 0: 12.139282048912719 12.15558119 11.929875105 Calling exit ...