Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001242/0.001242, allocations: 116.8 kB / 17.17 MB, free: 6 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.001332/0.001332, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.408/1.408, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002432/0.002432, allocations: 284 kB / 309.8 MB, free: 3.422 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.031/1.031, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002741/0.002741, allocations: 100.4 kB / 0.7347 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.5001, allocations: 95.33 MB / 0.8278 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005062/0.5052, allocations: 4.645 MB / 0.8323 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.5063, allocations: 0.8275 MB / 0.8331 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.5064, allocations: 2.625 kB / 0.8331 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.5065, allocations: 32.55 kB / 0.8332 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.987e-05/0.5066, allocations: 33 kB / 0.8332 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.5071, allocations: 178.4 kB / 0.8334 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.5073, allocations: 172.8 kB / 0.8335 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.039e-05/0.5074, allocations: 12.14 kB / 0.8335 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.5075, allocations: 78.3 kB / 0.8336 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.5076, allocations: 84.95 kB / 0.8337 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.5077, allocations: 12.16 kB / 0.8337 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.508, allocations: 158.9 kB / 0.8339 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.508, allocations: 33.7 kB / 0.8339 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.07e-05/0.5081, allocations: 69.19 kB / 0.834 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.5085, allocations: 235 kB / 0.8342 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5085, allocations: 3.297 kB / 0.8342 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5085, allocations: 0 / 0.8342 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.5085, allocations: 0 / 0.8342 GB, free: 14.62 MB / 0.5919 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.0009142/0.5094, allocations: 490.5 kB / 0.8347 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.5094, allocations: 9.75 kB / 0.8347 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.689e-05/0.5094, allocations: 1.562 kB / 0.8347 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.5095, allocations: 40.66 kB / 0.8347 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.5095, allocations: 14.47 kB / 0.8347 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.5097, allocations: 189.4 kB / 0.8349 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.5097, allocations: 5.312 kB / 0.8349 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.5097, allocations: 14.69 kB / 0.8349 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.5101, allocations: 120.6 kB / 0.835 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.5101, allocations: 0 / 0.835 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.5101, allocations: 4 kB / 0.835 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5101, allocations: 1 kB / 0.835 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.5105, allocations: 139.3 kB / 0.8352 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.5116, allocations: 469 kB / 0.8356 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.5119, allocations: 121.2 kB / 0.8357 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.5121, allocations: 64.94 kB / 0.8358 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/0.5136, allocations: 0.9724 MB / 0.8367 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.5137, allocations: 37.89 kB / 0.8368 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.5137, allocations: 0 / 0.8368 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0007231/0.5144, allocations: 209.6 kB / 0.837 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.5144, allocations: 51.41 kB / 0.837 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.5146, allocations: 173.2 kB / 0.8372 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.5146, allocations: 25.7 kB / 0.8372 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.5147, allocations: 111.4 kB / 0.8373 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.5148, allocations: 38.53 kB / 0.8374 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/0.5149, allocations: 48.44 kB / 0.8374 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.515, allocations: 321.9 kB / 0.8377 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.5152, allocations: 74.95 kB / 0.8378 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.5155, allocations: 118.7 kB / 0.8379 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.5159, allocations: 180.4 kB / 0.8381 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5159, allocations: 0 / 0.8381 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005727/0.5165, allocations: 241.5 kB / 0.8383 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.5165, allocations: 8.344 kB / 0.8383 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5165, allocations: 8.031 kB / 0.8383 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.5166, allocations: 3.625 kB / 0.8383 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.5168, allocations: 49.55 kB / 0.8384 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5168, allocations: 3.938 kB / 0.8384 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.517, allocations: 31.05 kB / 0.8384 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.517, allocations: 11.44 kB / 0.8384 GB, free: 11.33 MB / 0.5919 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 0.0001161/0.5171, allocations: 123.1 kB / 0.8385 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.5172, allocations: 21.22 kB / 0.8386 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.5177, allocations: 171.6 kB / 0.8387 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.5177, allocations: 7.297 kB / 0.8387 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5177, allocations: 0 / 0.8387 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5177, allocations: 0.6094 kB / 0.8387 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.518, allocations: 222.8 kB / 0.8389 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.518, allocations: 5.625 kB / 0.8389 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.5181, allocations: 31.22 kB / 0.839 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.5181, allocations: 7.969 kB / 0.839 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.5182, allocations: 4 kB / 0.839 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5182, allocations: 0 / 0.839 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5182, allocations: 0.6094 kB / 0.839 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.5186, allocations: 259.1 kB / 0.8392 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.05e-05/0.5187, allocations: 93.56 kB / 0.8393 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.5188, allocations: 10.86 kB / 0.8393 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.5189, allocations: 9.969 kB / 0.8393 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.5189, allocations: 17.2 kB / 0.8394 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.519, allocations: 2.5 kB / 0.8394 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.625e-05/0.519, allocations: 114.8 kB / 0.8395 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.519, allocations: 0 / 0.8395 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003541/0.5194, allocations: 65.8 kB / 0.8395 GB, free: 10.48 MB / 0.5919 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.0009847/0.5204, allocations: 0.8539 MB / 0.8404 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.5209, allocations: 169 kB / 0.8405 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5209, allocations: 0 / 0.8405 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.5211, allocations: 65 kB / 0.8406 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.5215, allocations: 19.62 kB / 0.8406 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.5243, allocations: 1.96 MB / 0.8425 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.5246, allocations: 0.7032 MB / 0.8432 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.5247, allocations: 23.98 kB / 0.8432 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.5248, allocations: 34.66 kB / 0.8433 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.5248, allocations: 0 / 0.8433 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.5482, allocations: 4.36 MB / 0.8475 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.533, allocations: 16.31 kB / 0.8475 GB, free: 6.848 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.290675673051737] Failed to read output from testmodel.py, exit status != 0: 8.66974471299909 8.684465777 8.173336259 Calling exit ...