Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001661/0.001661, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001858/0.001858, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.487/1.487, 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 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.776/2.776, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 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.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_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.002129/0.002129, allocations: 68.09 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9906/0.9928, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003519/0.9963, allocations: 2.175 MB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.9983, allocations: 1.088 MB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.9984, allocations: 7.094 kB / 1.282 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.075e-05/0.9984, allocations: 24.28 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.9988, allocations: 85.09 kB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.9993, allocations: 192.5 kB / 1.282 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.9997, allocations: 296 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.9999, allocations: 47.72 kB / 1.283 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/1, allocations: 110.8 kB / 1.283 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/1, allocations: 145.9 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/1, allocations: 18.72 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/1.001, allocations: 298 kB / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/1.001, allocations: 47.2 kB / 1.283 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/1.001, allocations: 119.7 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004704/1.001, allocations: 339.7 kB / 1.284 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.001, allocations: 0 / 1.284 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.001, allocations: 1.312 kB / 1.284 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.652e-06/1.001, allocations: 0 / 1.284 GB, free: 8.684 MB / 0.9981 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.001143/1.003, allocations: 0.6422 MB / 1.284 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.003, allocations: 10.2 kB / 1.284 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.295e-05/1.003, allocations: 8.531 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/1.003, allocations: 45.86 kB / 1.285 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/1.003, allocations: 38.5 kB / 1.285 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/1.003, allocations: 290.4 kB / 1.285 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/1.003, allocations: 10.84 kB / 1.285 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/1.003, allocations: 14.66 kB / 1.285 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/1.004, allocations: 240.1 kB / 1.285 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.004, allocations: 0 / 1.285 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.004, allocations: 5.438 kB / 1.285 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.004, allocations: 3.906 kB / 1.285 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/1.005, allocations: 206.3 kB / 1.285 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/1.006, allocations: 0.9384 MB / 1.286 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/1.007, allocations: 236 kB / 1.286 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/1.007, allocations: 99.86 kB / 1.287 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/1.007, allocations: 2.188 kB / 1.287 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/1.007, allocations: 41.69 kB / 1.287 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/1.007, allocations: 0 / 1.287 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.00121/1.008, allocations: 344.5 kB / 1.287 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/1.008, allocations: 79.02 kB / 1.287 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/1.009, allocations: 269.6 kB / 1.287 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/1.009, allocations: 35.17 kB / 1.287 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/1.009, allocations: 157.8 kB / 1.287 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/1.009, allocations: 55.53 kB / 1.287 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.947e-05/1.009, allocations: 44.03 kB / 1.287 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.009, allocations: 332.8 kB / 1.288 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/1.009, allocations: 97.53 kB / 1.288 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/1.01, allocations: 135.9 kB / 1.288 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/1.01, allocations: 243.6 kB / 1.288 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.01, allocations: 0 / 1.288 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008979/1.011, allocations: 296.3 kB / 1.289 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.011, allocations: 7.719 kB / 1.289 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.011, allocations: 3.625 kB / 1.289 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.011, allocations: 2.75 kB / 1.289 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/1.012, allocations: 64.95 kB / 1.289 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/1.012, allocations: 7.531 kB / 1.289 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/1.012, allocations: 41.36 kB / 1.289 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/1.012, allocations: 7.859 kB / 1.289 GB, free: 5.375 MB / 0.9981 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.0001392/1.012, allocations: 135.9 kB / 1.289 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/1.012, allocations: 28.31 kB / 1.289 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/1.013, allocations: 290.3 kB / 1.289 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/1.013, allocations: 7.734 kB / 1.289 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.013, allocations: 1.312 kB / 1.289 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.013, allocations: 2.031 kB / 1.289 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/1.014, allocations: 301.1 kB / 1.289 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.014, allocations: 5.734 kB / 1.289 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/1.014, allocations: 50.73 kB / 1.289 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.014, allocations: 1.844 kB / 1.289 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.014, allocations: 5.875 kB / 1.289 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.014, allocations: 1.188 kB / 1.289 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.014, allocations: 2 kB / 1.289 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008823/1.015, allocations: 445.9 kB / 1.29 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/1.015, allocations: 97.03 kB / 1.29 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/1.015, allocations: 7.016 kB / 1.29 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/1.015, allocations: 30.59 kB / 1.29 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/1.015, allocations: 18.55 kB / 1.29 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/1.015, allocations: 4 kB / 1.29 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001971/1.015, allocations: 190.1 kB / 1.29 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.015, allocations: 1.719 kB / 1.29 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003749/1.016, allocations: 58.78 kB / 1.29 GB, free: 4.332 MB / 0.9981 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.001367/1.017, allocations: 0.9908 MB / 1.291 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008164/1.018, allocations: 229.8 kB / 1.291 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.018, allocations: 5.5 kB / 1.291 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/1.018, allocations: 119.7 kB / 1.292 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/1.019, allocations: 80.17 kB / 1.292 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/1.024, allocations: 2.714 MB / 1.294 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/1.024, allocations: 0.7518 MB / 1.295 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001768/1.024, allocations: 30.48 kB / 1.295 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/1.024, allocations: 89.62 kB / 1.295 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.024, allocations: 3.938 kB / 1.295 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/1.051, allocations: 6.636 MB / 1.302 GB, free: 40 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.497/9.548, allocations: 2.656 kB / 1.302 GB, free: 40 kB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.720960751990788] Failed to read output from testmodel.py, exit status != 0: 9.673728096997365 9.689671144 8.685197589 Calling exit ...