Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001272/0.001272, allocations: 119 kB / 17.17 MB, free: 5.906 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.001323/0.001323, allocations: 211 kB / 20.13 MB, free: 2.969 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.513/1.513, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.798/2.798, allocations: 0.49 GB / 0.7923 GB, free: 1.246 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001965/0.001965, allocations: 59.91 kB / 1.15 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9034/0.9053, allocations: 176.1 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00464/0.91, allocations: 4.679 MB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.9107, allocations: 0.8137 MB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.9108, allocations: 0 / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.911, allocations: 42.56 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.911, allocations: 32.91 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.9114, allocations: 162.4 kB / 1.327 GB, free: 20.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.9116, allocations: 192.7 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.544e-05/0.9116, allocations: 13.73 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.9118, allocations: 86.48 kB / 1.327 GB, free: 20.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.9119, allocations: 73.53 kB / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.9119, allocations: 13.72 kB / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.9121, allocations: 156.6 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.9122, allocations: 31.7 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.053e-05/0.9122, allocations: 73.66 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.9126, allocations: 238.6 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.9126, allocations: 4.594 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9126, allocations: 0 / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.9126, allocations: 0.5312 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007704/0.9133, allocations: 482.6 kB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.9134, allocations: 14.05 kB / 1.328 GB, free: 19.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.347e-05/0.9134, allocations: 5.719 kB / 1.328 GB, free: 19.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.561e-05/0.9134, allocations: 40.78 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.9135, allocations: 15.75 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.936e-05/0.9136, allocations: 178.5 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.9136, allocations: 13.03 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.9136, allocations: 16.03 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.9139, allocations: 129 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.9139, allocations: 0.6875 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.914, allocations: 8.719 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.914, allocations: 1.594 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.9144, allocations: 139 kB / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008552/0.9152, allocations: 460.5 kB / 1.329 GB, free: 19.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.9155, allocations: 117.7 kB / 1.329 GB, free: 19.1 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.9157, allocations: 70.27 kB / 1.33 GB, free: 19.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.9169, allocations: 0.9557 MB / 1.33 GB, free: 18.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.9169, allocations: 39.41 kB / 1.331 GB, free: 18.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.9169, allocations: 0 / 1.331 GB, free: 18.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.000693/0.9176, allocations: 221.6 kB / 1.331 GB, free: 18.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.9176, allocations: 53.14 kB / 1.331 GB, free: 17.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.9177, allocations: 159.6 kB / 1.331 GB, free: 17.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.9177, allocations: 31.47 kB / 1.331 GB, free: 17.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.9178, allocations: 112.7 kB / 1.331 GB, free: 17.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.9178, allocations: 44.95 kB / 1.331 GB, free: 17.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.9179, allocations: 48.45 kB / 1.331 GB, free: 17.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.918, allocations: 326.7 kB / 1.331 GB, free: 17.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.9182, allocations: 70.83 kB / 1.332 GB, free: 17.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.9185, allocations: 113.9 kB / 1.332 GB, free: 17.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.9189, allocations: 174.1 kB / 1.332 GB, free: 17.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9189, allocations: 0.75 kB / 1.332 GB, free: 17.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006208/0.9195, allocations: 245.7 kB / 1.332 GB, free: 17.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.9195, allocations: 10.5 kB / 1.332 GB, free: 17.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.9196, allocations: 1.156 kB / 1.332 GB, free: 17.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.9196, allocations: 2.219 kB / 1.332 GB, free: 17.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.9199, allocations: 55.33 kB / 1.332 GB, free: 17.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.9199, allocations: 5.156 kB / 1.332 GB, free: 17.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.92, allocations: 39.8 kB / 1.332 GB, free: 17.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.92, allocations: 7.672 kB / 1.332 GB, free: 17.02 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 6.799e-05/0.9201, allocations: 123.3 kB / 1.332 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.9202, allocations: 21.12 kB / 1.332 GB, free: 16.88 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.9206, allocations: 177.1 kB / 1.332 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.9206, allocations: 1.781 kB / 1.332 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9207, allocations: 0.8125 kB / 1.332 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9207, allocations: 0.6562 kB / 1.332 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.9209, allocations: 218.9 kB / 1.333 GB, free: 16.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9209, allocations: 0 / 1.333 GB, free: 16.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.921, allocations: 28.36 kB / 1.333 GB, free: 16.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.921, allocations: 5.578 kB / 1.333 GB, free: 16.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.921, allocations: 5.219 kB / 1.333 GB, free: 16.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.921, allocations: 5.297 kB / 1.333 GB, free: 16.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.921, allocations: 0 / 1.333 GB, free: 16.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.9215, allocations: 258.8 kB / 1.333 GB, free: 16.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.9215, allocations: 97.77 kB / 1.333 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.9215, allocations: 6.25 kB / 1.333 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.9217, allocations: 19.97 kB / 1.333 GB, free: 16.28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.9217, allocations: 7.031 kB / 1.333 GB, free: 16.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.9217, allocations: 3.25 kB / 1.333 GB, free: 16.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.922e-05/0.9218, allocations: 120.5 kB / 1.333 GB, free: 16.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9218, allocations: 1.469 kB / 1.333 GB, free: 16.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003729/0.9222, allocations: 62.16 kB / 1.333 GB, free: 16.17 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0008398/0.923, allocations: 0.8594 MB / 1.334 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005265/0.9235, allocations: 158.1 kB / 1.334 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9235, allocations: 0 / 1.334 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.9237, allocations: 68.84 kB / 1.334 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.9241, allocations: 19.75 kB / 1.334 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.9266, allocations: 1.965 MB / 1.336 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.9267, allocations: 0.7065 MB / 1.337 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.685e-05/0.9268, allocations: 16.77 kB / 1.337 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.9269, allocations: 35.44 kB / 1.337 GB, free: 13.16 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.9269, allocations: 0 / 1.337 GB, free: 13.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.9487, allocations: 4.343 MB / 1.341 GB, free: 12.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/9.033, allocations: 11.88 kB / 1.341 GB, free: 12.54 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.243753083981574] Failed to read output from testmodel.py, exit status != 0: 9.157172214996535 9.168164721 8.253152819 Calling exit ...