Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001275/0.001275, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001349/0.001349, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.338/1.338, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002346/0.002346, allocations: 280.3 kB / 303 MB, free: 3.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 180.9 MB / 0.5262 GB, free: 2.773 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 104.2 kB / 0.7248 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5108, allocations: 94.15 MB / 0.8167 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002554/0.5133, allocations: 2.129 MB / 0.8188 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.5146, allocations: 1.044 MB / 0.8198 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.495e-05/0.5147, allocations: 7.375 kB / 0.8198 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.029e-05/0.5148, allocations: 26.91 kB / 0.8199 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.515, allocations: 81.64 kB / 0.8199 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.5154, allocations: 199 kB / 0.8201 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000263/0.5156, allocations: 287 kB / 0.8204 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.5158, allocations: 40.89 kB / 0.8204 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.5159, allocations: 116.3 kB / 0.8205 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.5161, allocations: 139.1 kB / 0.8207 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.5161, allocations: 21.8 kB / 0.8207 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.5164, allocations: 296.7 kB / 0.821 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.5165, allocations: 56.75 kB / 0.821 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.395e-05/0.5166, allocations: 114.9 kB / 0.8211 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.517, allocations: 331.4 kB / 0.8215 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.517, allocations: 5.25 kB / 0.8215 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.517, allocations: 0 / 0.8215 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.517, allocations: 0 / 0.8215 GB, free: 4.168 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009434/0.5179, allocations: 0.6338 MB / 0.8221 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.518, allocations: 13.06 kB / 0.8221 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.518, allocations: 49.88 kB / 0.8221 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.5182, allocations: 42.72 kB / 0.8222 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.5185, allocations: 290.2 kB / 0.8225 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.5185, allocations: 10.84 kB / 0.8225 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.5185, allocations: 14.53 kB / 0.8225 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.519, allocations: 236.9 kB / 0.8227 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.519, allocations: 7.938 kB / 0.8227 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.519, allocations: 6.625 kB / 0.8227 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.519, allocations: 6.625 kB / 0.8227 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.5196, allocations: 191.9 kB / 0.8229 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.5205, allocations: 0.9447 MB / 0.8238 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.5212, allocations: 234.9 kB / 0.8241 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.5215, allocations: 97.27 kB / 0.8242 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.5215, allocations: 4 kB / 0.8242 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.5215, allocations: 43.3 kB / 0.8242 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.5215, allocations: 2.438 kB / 0.8242 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.0009918/0.5225, allocations: 338.8 kB / 0.8245 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.5225, allocations: 80.55 kB / 0.8246 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.5227, allocations: 265.6 kB / 0.8249 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.5227, allocations: 29.7 kB / 0.8249 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.5228, allocations: 167.5 kB / 0.825 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.5228, allocations: 53.62 kB / 0.8251 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.5229, allocations: 44.08 kB / 0.8251 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.523, allocations: 340.9 kB / 0.8255 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.5232, allocations: 88.73 kB / 0.8255 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.5235, allocations: 144.9 kB / 0.8257 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/0.5241, allocations: 234 kB / 0.8259 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5241, allocations: 0 / 0.8259 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006913/0.5248, allocations: 307.5 kB / 0.8262 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5248, allocations: 7.5 kB / 0.8262 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5248, allocations: 3.516 kB / 0.8262 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5248, allocations: 6.906 kB / 0.8262 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.5251, allocations: 59.11 kB / 0.8263 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5251, allocations: 3.422 kB / 0.8263 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.5253, allocations: 42.91 kB / 0.8263 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.5253, allocations: 8.641 kB / 0.8263 GB, free: 0.8594 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 8.565e-05/0.5254, allocations: 131.1 kB / 0.8265 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/0.5255, allocations: 36.11 kB / 0.8265 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006837/0.5262, allocations: 286.6 kB / 0.8268 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5262, allocations: 2.719 kB / 0.8268 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.5262, allocations: 0 / 0.8268 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5262, allocations: 3.969 kB / 0.8268 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.5265, allocations: 301.9 kB / 0.8271 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5265, allocations: 0 / 0.8271 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.5267, allocations: 52.11 kB / 0.8271 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5267, allocations: 0 / 0.8271 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.5267, allocations: 7.125 kB / 0.8271 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5267, allocations: 5.281 kB / 0.8271 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5267, allocations: 4 kB / 0.8271 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.5274, allocations: 450.3 kB / 0.8276 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-05/0.5275, allocations: 103.1 kB / 0.8276 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.5275, allocations: 4 kB / 0.8277 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.5277, allocations: 30.95 kB / 0.8277 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.5278, allocations: 18.39 kB / 0.8277 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.5278, allocations: 5.422 kB / 0.8277 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001686/0.528, allocations: 194.2 kB / 0.8279 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.528, allocations: 7.938 kB / 0.8279 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003229/0.5283, allocations: 55.06 kB / 0.828 GB, free: 15.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001167/0.5295, allocations: 0.9894 MB / 0.8289 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006457/0.5301, allocations: 219.8 kB / 0.8291 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5301, allocations: 2.812 kB / 0.8291 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.5304, allocations: 110.5 kB / 0.8292 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.5309, allocations: 83.62 kB / 0.8293 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.5348, allocations: 2.716 MB / 0.832 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.5351, allocations: 0.7516 MB / 0.8327 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000137/0.5353, allocations: 30.64 kB / 0.8327 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.5354, allocations: 84.83 kB / 0.8328 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.5354, allocations: 2.656 kB / 0.8328 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.5659, allocations: 6.615 MB / 0.8393 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.435, allocations: 3.688 kB / 0.8393 GB, free: 11.57 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.06481781275943] Failed to read output from testmodel.py, exit status != 0: 8.502453630324453 8.515814989999999 7.995983166 Calling exit ...