Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 110 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.8836/0.8836, allocations: 145.2 MB / 447.9 MB, free: 6.344 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 73.59 kB / 0.62 GB, free: 1.355 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1996, allocations: 86.64 MB / 0.7046 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.0248/0.2244, allocations: 14.53 MB / 0.7188 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006949/0.2313, allocations: 3.656 MB / 0.7223 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.2324, allocations: 19.88 kB / 0.7223 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.2334, allocations: 206.7 kB / 0.7225 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.2357, allocations: 0.6203 MB / 0.7231 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.2369, allocations: 400.8 kB / 0.7235 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.239, allocations: 1.086 MB / 0.7246 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007031/0.2397, allocations: 272.4 kB / 0.7248 GB, free: 5.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.2412, allocations: 401.9 kB / 0.7252 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007338/0.2419, allocations: 330.5 kB / 0.7255 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2421, allocations: 32 kB / 0.7256 GB, free: 5.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008934/0.2429, allocations: 267.5 kB / 0.7258 GB, free: 4.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.2432, allocations: 99.61 kB / 0.7259 GB, free: 4.707 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004553/0.2436, allocations: 215 kB / 0.7261 GB, free: 4.496 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.245, allocations: 0.6111 MB / 0.7267 GB, free: 3.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.245, allocations: 0 / 0.7267 GB, free: 3.883 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/0.245, allocations: 0 / 0.7267 GB, free: 3.883 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.2451, allocations: 0 / 0.7267 GB, free: 3.883 MB / 0.545 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.001584/0.2466, allocations: 0.7669 MB / 0.7275 GB, free: 3.059 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2467, allocations: 8.031 kB / 0.7275 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.2468, allocations: 62.72 kB / 0.7275 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.2471, allocations: 52.66 kB / 0.7276 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/0.248, allocations: 471.9 kB / 0.728 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.248, allocations: 24.67 kB / 0.7281 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/0.2481, allocations: 28 kB / 0.7281 GB, free: 2.379 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007453/0.2488, allocations: 306.2 kB / 0.7284 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2489, allocations: 0 / 0.7284 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.2489, allocations: 19.98 kB / 0.7284 GB, free: 2.039 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.2489, allocations: 4 kB / 0.7284 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.2494, allocations: 194.1 kB / 0.7286 GB, free: 1.848 MB / 0.545 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.002309/0.2517, allocations: 1.485 MB / 0.73 GB, free: 240 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.2522, allocations: 150.6 kB / 0.7302 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.2524, allocations: 60.81 kB / 0.7302 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.2526, allocations: 89.09 kB / 0.7303 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/0.2529, allocations: 131.2 kB / 0.7305 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.874e-06/0.2529, allocations: 4 kB / 0.7305 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.000779/0.2537, allocations: 241.2 kB / 0.7307 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.2538, allocations: 55.34 kB / 0.7307 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.2542, allocations: 345.7 kB / 0.7311 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.2543, allocations: 33.7 kB / 0.7311 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.2545, allocations: 216.1 kB / 0.7313 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.2546, allocations: 59.53 kB / 0.7314 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/0.2547, allocations: 57.66 kB / 0.7314 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2549, allocations: 338.8 kB / 0.7317 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.2551, allocations: 71.95 kB / 0.7318 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.2553, allocations: 146.1 kB / 0.732 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.2558, allocations: 242.9 kB / 0.7322 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2558, allocations: 0 / 0.7322 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006593/0.2565, allocations: 313.4 kB / 0.7325 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.2565, allocations: 41.64 kB / 0.7325 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2565, allocations: 0 / 0.7325 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.2565, allocations: 7.938 kB / 0.7325 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.2568, allocations: 56.22 kB / 0.7326 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2568, allocations: 11.94 kB / 0.7326 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.2571, allocations: 35.77 kB / 0.7326 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.2571, allocations: 15.98 kB / 0.7326 GB, free: 13.38 MB / 0.5606 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.0001857/0.2573, allocations: 149.8 kB / 0.7328 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.956e-05/0.2574, allocations: 39.77 kB / 0.7328 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.2579, allocations: 196.5 kB / 0.733 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.2579, allocations: 7.938 kB / 0.733 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.2579, allocations: 4 kB / 0.733 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007043/0.2586, allocations: 486.6 kB / 0.7335 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.2591, allocations: 353.4 kB / 0.7338 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2591, allocations: 0 / 0.7338 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.2593, allocations: 31.97 kB / 0.7339 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2593, allocations: 0 / 0.7339 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.2593, allocations: 4 kB / 0.7339 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2593, allocations: 15.88 kB / 0.7339 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2593, allocations: 0 / 0.7339 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.26, allocations: 287.5 kB / 0.7341 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.2602, allocations: 120.9 kB / 0.7343 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.2602, allocations: 4 kB / 0.7343 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.2605, allocations: 23.92 kB / 0.7343 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.2605, allocations: 15.97 kB / 0.7343 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.2606, allocations: 8 kB / 0.7343 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002946/0.2609, allocations: 247.2 kB / 0.7345 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2609, allocations: 0 / 0.7345 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004739/0.2613, allocations: 131.6 kB / 0.7347 GB, free: 11.12 MB / 0.5606 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.001545/0.2629, allocations: 0.9167 MB / 0.7356 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006074/0.2635, allocations: 226.2 kB / 0.7358 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2635, allocations: 0 / 0.7358 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.2638, allocations: 67.89 kB / 0.7359 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.2649, allocations: 216.3 kB / 0.7361 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005291/0.2702, allocations: 3.066 MB / 0.7391 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/0.2709, allocations: 0.7879 MB / 0.7398 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003212/0.2712, allocations: 75.06 kB / 0.7399 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.2715, allocations: 119.4 kB / 0.74 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/0.2715, allocations: 4 kB / 0.74 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0443/0.3158, allocations: 10.33 MB / 0.7501 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/8.763, allocations: 4 kB / 0.7501 GB, free: 11.34 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.56473713601008] Failed to read output from testmodel.py, exit status != 0: 8.836096507962793 9.167477582 8.602851436 Calling exit ...