Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.00138/0.00138, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.00154/0.00154, allocations: 211.3 kB / 23.04 MB, free: 5.074 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.301/1.301, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.81/2.81, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001789/0.001789, allocations: 66.2 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2701, allocations: 179 MB / 1.345 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003081/0.2731, allocations: 2.18 MB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2748, allocations: 1.11 MB / 1.349 GB, free: 13.17 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.976e-05/0.2749, allocations: 7.938 kB / 1.349 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.249e-05/0.2749, allocations: 27.66 kB / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.2752, allocations: 71.3 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.2755, allocations: 197.8 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000313/0.2758, allocations: 294.7 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.276, allocations: 48.84 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.2761, allocations: 111.6 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.2763, allocations: 139.4 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.2764, allocations: 20 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.2768, allocations: 307.6 kB / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.2768, allocations: 47.83 kB / 1.35 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.2769, allocations: 119.3 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.2773, allocations: 334.5 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2773, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2773, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2773, allocations: 3.938 kB / 1.35 GB, free: 11.47 MB / 1.045 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.0009924/0.2783, allocations: 0.5554 MB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2783, allocations: 12.03 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.619e-05/0.2784, allocations: 8.469 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.2784, allocations: 50.73 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.2786, allocations: 36.75 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.2789, allocations: 225.4 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.279, allocations: 20.22 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.279, allocations: 12 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.2795, allocations: 228.6 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2795, allocations: 0 / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.2795, allocations: 12 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2795, allocations: 8 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.2801, allocations: 187.8 kB / 1.352 GB, free: 10.04 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.2812, allocations: 0.918 MB / 1.352 GB, free: 9.059 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.2819, allocations: 233.2 kB / 1.353 GB, free: 8.812 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.2822, allocations: 93.64 kB / 1.353 GB, free: 8.715 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2823, allocations: 8.297 kB / 1.353 GB, free: 8.707 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.2823, allocations: 38.56 kB / 1.353 GB, free: 8.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.2823, allocations: 0 / 1.353 GB, free: 8.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.001087/0.2834, allocations: 337.2 kB / 1.353 GB, free: 8.324 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.2834, allocations: 81.11 kB / 1.353 GB, free: 8.227 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.2837, allocations: 264.2 kB / 1.353 GB, free: 7.961 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.2837, allocations: 29.7 kB / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2838, allocations: 168.2 kB / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.2839, allocations: 55.53 kB / 1.354 GB, free: 7.703 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.2839, allocations: 41.7 kB / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2841, allocations: 346.7 kB / 1.354 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.2844, allocations: 91.91 kB / 1.354 GB, free: 7.219 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.2847, allocations: 141.6 kB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006356/0.2854, allocations: 237.7 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2854, allocations: 0 / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007966/0.2862, allocations: 301.1 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2862, allocations: 11.98 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2862, allocations: 0 / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2862, allocations: 4.156 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.2865, allocations: 63.89 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2865, allocations: 0 / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.2867, allocations: 43.84 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.2867, allocations: 4 kB / 1.355 GB, free: 6.383 MB / 1.045 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 0.0001226/0.2868, allocations: 141.6 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2869, allocations: 35.81 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007841/0.2877, allocations: 296 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.2877, allocations: 4 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2877, allocations: 0 / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2877, allocations: 4 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.2881, allocations: 264.5 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2881, allocations: 3.984 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.2883, allocations: 55.89 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2883, allocations: 0 / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.2883, allocations: 4 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2883, allocations: 8 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2883, allocations: 4 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007987/0.2891, allocations: 438.4 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.2892, allocations: 35.67 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.2892, allocations: 8 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.2895, allocations: 23.97 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.2895, allocations: 19.97 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2895, allocations: 7.984 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001665/0.2897, allocations: 187.1 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.2897, allocations: 4 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003247/0.29, allocations: 59.92 kB / 1.356 GB, free: 4.734 MB / 1.045 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.001143/0.2912, allocations: 0.986 MB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006854/0.2919, allocations: 219.9 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2919, allocations: 0 / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.2922, allocations: 112.3 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.2927, allocations: 74.61 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.2965, allocations: 2.712 MB / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.2969, allocations: 0.7557 MB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.297, allocations: 34.42 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.2971, allocations: 87.41 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.2971, allocations: 0 / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.324, allocations: 6.813 MB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.7, allocations: 6.297 kB / 1.368 GB, free: 8.996 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.484273740032222] Failed to read output from testmodel.py, exit status != 0: 10.862327990995254 10.879174668 10.598669109 Calling exit ...