Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001505/0.001505, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001712/0.001712, allocations: 217.8 kB / 23.04 MB, free: 5.078 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.64/2.64, allocations: 476.7 MB / 0.7714 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_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.002009/0.002009, allocations: 64.23 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3207, allocations: 170 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006268/0.327, allocations: 4.709 MB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3281, allocations: 0.8256 MB / 1.29 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.3281, allocations: 0 / 1.29 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.3283, allocations: 27.77 kB / 1.29 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.688e-05/0.3283, allocations: 39.7 kB / 1.29 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.3288, allocations: 175.3 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.329, allocations: 167.4 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.3291, allocations: 29.28 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.3293, allocations: 83.7 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3294, allocations: 83.72 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3294, allocations: 12 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.3298, allocations: 155.8 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.3298, allocations: 31.91 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.3299, allocations: 67.66 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.3303, allocations: 243.4 kB / 1.291 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3303, allocations: 0 / 1.291 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3303, allocations: 0 / 1.291 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3303, allocations: 7.938 kB / 1.291 GB, free: 5.023 MB / 0.9825 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.0007981/0.3311, allocations: 409.4 kB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3311, allocations: 8.031 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.817e-05/0.3311, allocations: 8.188 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.3312, allocations: 38.75 kB / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.3312, allocations: 16.84 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3313, allocations: 122.4 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3313, allocations: 16.27 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.3314, allocations: 16.12 kB / 1.291 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.3317, allocations: 113.6 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3317, allocations: 3.938 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3317, allocations: 4 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3317, allocations: 4 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.3321, allocations: 143.9 kB / 1.292 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009513/0.3331, allocations: 439.5 kB / 1.292 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.3334, allocations: 118.5 kB / 1.292 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.3336, allocations: 64.81 kB / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.3347, allocations: 496 kB / 1.293 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3348, allocations: 42.55 kB / 1.293 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.3348, allocations: 0 / 1.293 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0006795/0.3354, allocations: 217.3 kB / 1.293 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3355, allocations: 55.41 kB / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3356, allocations: 159.3 kB / 1.293 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.3357, allocations: 29.7 kB / 1.293 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.3357, allocations: 108.4 kB / 1.293 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.3358, allocations: 47.62 kB / 1.293 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/0.3359, allocations: 53.64 kB / 1.293 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.336, allocations: 326.8 kB / 1.294 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.3362, allocations: 71.94 kB / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.3365, allocations: 108.2 kB / 1.294 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.3369, allocations: 178.1 kB / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3369, allocations: 0 / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005856/0.3375, allocations: 237.3 kB / 1.294 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3375, allocations: 14.28 kB / 1.294 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3375, allocations: 3.938 kB / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3376, allocations: 0 / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3378, allocations: 59.95 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3378, allocations: 0 / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.338, allocations: 35.92 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.338, allocations: 4 kB / 1.294 GB, free: 1.094 MB / 0.9825 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.0001131/0.3381, allocations: 129.8 kB / 1.294 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.3382, allocations: 11.89 kB / 1.294 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.3386, allocations: 195.1 kB / 1.295 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3386, allocations: 0 / 1.295 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3387, allocations: 0 / 1.295 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3387, allocations: 0 / 1.295 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.3389, allocations: 180.7 kB / 1.295 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3389, allocations: 0 / 1.295 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.339, allocations: 31.97 kB / 1.295 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.339, allocations: 3.938 kB / 1.295 GB, free: 500 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.339, allocations: 4 kB / 1.295 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.339, allocations: 4 kB / 1.295 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.339, allocations: 4 kB / 1.295 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.3395, allocations: 259.3 kB / 1.295 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.3395, allocations: 19.88 kB / 1.295 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3396, allocations: 11.94 kB / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3397, allocations: 19.97 kB / 1.295 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.3397, allocations: 7.984 kB / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.3398, allocations: 8 kB / 1.295 GB, free: 144 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.244e-05/0.3398, allocations: 112 kB / 1.295 GB, free: 32 kB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3398, allocations: 0 / 1.295 GB, free: 32 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003467/0.3402, allocations: 64.14 kB / 1.295 GB, free: 15.96 MB / 0.9981 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.0009384/0.3411, allocations: 0.8488 MB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005076/0.3416, allocations: 159.7 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3416, allocations: 0 / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.3418, allocations: 67.83 kB / 1.296 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3422, allocations: 30.36 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.3449, allocations: 1.954 MB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3452, allocations: 0.7122 MB / 1.299 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.973e-05/0.3453, allocations: 23 kB / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.3454, allocations: 35.42 kB / 1.299 GB, free: 12 MB / 0.9981 GB Notification: Performance of SimCode: time 4.7e-07/0.3454, allocations: 0 / 1.299 GB, free: 12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.3704, allocations: 4.474 MB / 1.303 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.09, allocations: 15.95 kB / 1.303 GB, free: 7.691 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.52662150899414] Failed to read output from testmodel.py, exit status != 0: 11.714303385990206 11.265464375 10.932248934 Calling exit ...