Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001295/0.001295, 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.001378/0.001378, 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.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.811/2.811, allocations: 0.49 GB / 0.7923 GB, free: 1.406 MB / 0.6231 GB " [Timeout remaining time 176] 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.HADryCoil,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_12_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.001914/0.001914, allocations: 71.89 kB / 1.15 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9016/0.9035, allocations: 176.1 MB / 1.322 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002659/0.9062, allocations: 2.174 MB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.9074, allocations: 1.09 MB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.9075, allocations: 10.38 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.9e-05/0.9076, allocations: 26.34 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.9078, allocations: 84.55 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.9081, allocations: 196.2 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.9084, allocations: 294.8 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.9085, allocations: 49.33 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/0.9086, allocations: 109.9 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.9088, allocations: 147 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.9088, allocations: 16.22 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.9091, allocations: 297.6 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.193e-05/0.9091, allocations: 46.05 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.769e-05/0.9092, allocations: 126.2 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.9095, allocations: 326.9 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9095, allocations: 3.938 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9095, allocations: 0 / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.9095, allocations: 0 / 1.326 GB, free: 21.67 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009024/0.9104, allocations: 0.6399 MB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.9104, allocations: 16.98 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.428e-05/0.9105, allocations: 3.969 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.9105, allocations: 47.47 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.9107, allocations: 39.91 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.911, allocations: 286.2 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.911, allocations: 10.72 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.9111, allocations: 14 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.9116, allocations: 240.2 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9116, allocations: 4.484 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.9116, allocations: 5.812 kB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.9116, allocations: 4.062 kB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006768/0.9123, allocations: 196.6 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009144/0.9132, allocations: 0.9415 MB / 1.329 GB, free: 19.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007725/0.914, allocations: 234.8 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.9143, allocations: 95.5 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.9143, allocations: 1.625 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.9143, allocations: 39.84 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.9143, allocations: 4 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.001182/0.9155, allocations: 341.7 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.9155, allocations: 87.83 kB / 1.329 GB, free: 19.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.9158, allocations: 264.9 kB / 1.33 GB, free: 19.28 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.9158, allocations: 30.55 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.9159, allocations: 162.9 kB / 1.33 GB, free: 19.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.9159, allocations: 54.81 kB / 1.33 GB, free: 19.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.916, allocations: 39.83 kB / 1.33 GB, free: 19.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.9161, allocations: 337.3 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.9164, allocations: 92.25 kB / 1.33 GB, free: 18.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.9168, allocations: 144.1 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006538/0.9174, allocations: 240 kB / 1.331 GB, free: 18.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9175, allocations: 4.656 kB / 1.331 GB, free: 18.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008121/0.9183, allocations: 299.1 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9183, allocations: 6.672 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.9183, allocations: 1.719 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.9183, allocations: 2.906 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.9186, allocations: 60.95 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.9186, allocations: 7.297 kB / 1.331 GB, free: 18.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.9188, allocations: 38.67 kB / 1.331 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.9189, allocations: 7.484 kB / 1.331 GB, free: 18.36 MB / 1.061 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.409e-05/0.9189, allocations: 131.5 kB / 1.331 GB, free: 18.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.919, allocations: 28.89 kB / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008123/0.9199, allocations: 294.6 kB / 1.332 GB, free: 18.1 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.9199, allocations: 3.922 kB / 1.332 GB, free: 18.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9199, allocations: 5.156 kB / 1.332 GB, free: 18.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.9199, allocations: 1.125 kB / 1.332 GB, free: 18.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.9202, allocations: 298.6 kB / 1.332 GB, free: 17.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9202, allocations: 1 kB / 1.332 GB, free: 17.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.9204, allocations: 55.31 kB / 1.332 GB, free: 17.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.9204, allocations: 0.7188 kB / 1.332 GB, free: 17.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.9205, allocations: 6.766 kB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.9205, allocations: 1.25 kB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9205, allocations: 5.484 kB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007859/0.9213, allocations: 445.9 kB / 1.332 GB, free: 17.56 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.9213, allocations: 101.6 kB / 1.333 GB, free: 17.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.9213, allocations: 6.156 kB / 1.333 GB, free: 17.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.9216, allocations: 26.98 kB / 1.333 GB, free: 17.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.9217, allocations: 18.59 kB / 1.333 GB, free: 17.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.9217, allocations: 4.562 kB / 1.333 GB, free: 17.44 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001567/0.9218, allocations: 189.8 kB / 1.333 GB, free: 17.33 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9218, allocations: 0 / 1.333 GB, free: 17.33 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003456/0.9222, allocations: 59.39 kB / 1.333 GB, free: 17.32 MB / 1.061 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.001057/0.9232, allocations: 0.9971 MB / 1.334 GB, free: 16.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000788/0.924, allocations: 220.4 kB / 1.334 GB, free: 16.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.924, allocations: 0.625 kB / 1.334 GB, free: 16.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.9244, allocations: 124.1 kB / 1.334 GB, free: 16.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.9249, allocations: 82.14 kB / 1.334 GB, free: 16.39 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.9291, allocations: 2.704 MB / 1.337 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.9293, allocations: 0.7515 MB / 1.338 GB, free: 13.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.9294, allocations: 34.62 kB / 1.338 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.9295, allocations: 84.98 kB / 1.338 GB, free: 13.78 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.9296, allocations: 0 / 1.338 GB, free: 13.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.9554, allocations: 6.639 MB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/9.245, allocations: 7.297 kB / 1.344 GB, free: 13.04 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.380891814013012] Failed to read output from testmodel.py, exit status != 0: 9.371065912011545 9.387793703 8.4750427 Calling exit ...