Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.0007525/0.0007525, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008576/0.0008576, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.8655/0.8655, allocations: 177.1 MB / 202.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001417/0.001417, allocations: 247.6 kB / 259.4 MB, free: 12.87 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6983/0.6983, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/1.998e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3622/0.3622, allocations: 153.6 MB / 0.7963 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005787/0.368, allocations: 8.604 MB / 0.8047 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.3682, allocations: 15.94 kB / 0.8047 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.3686, allocations: 202.6 kB / 0.8049 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.3688, allocations: 99.25 kB / 0.805 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.369, allocations: 71.78 kB / 0.8051 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.3693, allocations: 334.5 kB / 0.8054 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.3695, allocations: 130 kB / 0.8055 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.3699, allocations: 239.3 kB / 0.8057 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.37, allocations: 91.7 kB / 0.8058 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.37, allocations: 20 kB / 0.8059 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.37, allocations: 24 kB / 0.8059 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.3701, allocations: 79.72 kB / 0.806 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.3702, allocations: 79.84 kB / 0.806 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3704, allocations: 294.8 kB / 0.8063 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3704, allocations: 0 / 0.8063 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3704, allocations: 4.656 kB / 0.8063 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3704, allocations: 4 kB / 0.8063 GB, free: 7.152 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0003636/0.3708, allocations: 449.6 kB / 0.8067 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3708, allocations: 13.94 kB / 0.8068 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.3708, allocations: 62.53 kB / 0.8068 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.3709, allocations: 31.8 kB / 0.8069 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.3712, allocations: 216.8 kB / 0.8071 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3712, allocations: 21.31 kB / 0.8071 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3712, allocations: 24 kB / 0.8071 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.3715, allocations: 327.9 kB / 0.8074 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3715, allocations: 3.938 kB / 0.8074 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3715, allocations: 12 kB / 0.8074 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3715, allocations: 8 kB / 0.8074 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3717, allocations: 143.6 kB / 0.8076 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.3726, allocations: 1.737 MB / 0.8093 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.3727, allocations: 165.1 kB / 0.8094 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.3727, allocations: 88.14 kB / 0.8095 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3727, allocations: 75.28 kB / 0.8096 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3728, allocations: 113.8 kB / 0.8097 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.3728, allocations: 0 / 0.8097 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.561e-05/0.3728, allocations: 53.5 kB / 0.8097 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3729, allocations: 126.7 kB / 0.8099 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.3732, allocations: 377.6 kB / 0.8102 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.3732, allocations: 25.7 kB / 0.8102 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.3733, allocations: 175.9 kB / 0.8104 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.3733, allocations: 0 / 0.8104 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.3733, allocations: 21.72 kB / 0.8104 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.3734, allocations: 338.8 kB / 0.8108 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.3734, allocations: 4 kB / 0.8108 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.388e-05/0.3734, allocations: 40.22 kB / 0.8108 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.3735, allocations: 44.23 kB / 0.8108 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3735, allocations: 0 / 0.8108 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001178/0.3736, allocations: 89.44 kB / 0.8109 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3736, allocations: 7.938 kB / 0.8109 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3736, allocations: 0 / 0.8109 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3736, allocations: 4 kB / 0.8109 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.3737, allocations: 11.94 kB / 0.811 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3737, allocations: 3.984 kB / 0.811 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.3737, allocations: 33.11 kB / 0.811 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.3737, allocations: 4 kB / 0.811 GB, free: 2.059 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 9.911e-05/0.3738, allocations: 213.9 kB / 0.8112 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.3739, allocations: 132.8 kB / 0.8113 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.3741, allocations: 130.8 kB / 0.8114 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.03e-05/0.3741, allocations: 180.3 kB / 0.8116 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.423e-05/0.3742, allocations: 184.2 kB / 0.8118 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/0.3742, allocations: 180.2 kB / 0.812 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.3744, allocations: 452.2 kB / 0.8124 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/0.3744, allocations: 101 kB / 0.8125 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.3744, allocations: 101.1 kB / 0.8126 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.003e-05/0.3745, allocations: 188.1 kB / 0.8128 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.3745, allocations: 190.2 kB / 0.813 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.728e-05/0.3746, allocations: 184.2 kB / 0.8131 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.796e-05/0.3746, allocations: 182.9 kB / 0.8133 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.3747, allocations: 331.6 kB / 0.8136 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.3748, allocations: 132.8 kB / 0.8137 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.3748, allocations: 192.1 kB / 0.8139 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.28e-05/0.3749, allocations: 101 kB / 0.814 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3749, allocations: 180.2 kB / 0.8142 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.375, allocations: 105 kB / 0.8143 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001845/0.3752, allocations: 271.2 kB / 0.8146 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.3752, allocations: 0 / 0.8146 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001696/0.3753, allocations: 28 kB / 0.8146 GB, free: 14.19 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.0002751/0.3756, allocations: 0.8401 MB / 0.8154 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.509e-05/0.3757, allocations: 12 kB / 0.8154 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3757, allocations: 0 / 0.8154 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.3757, allocations: 3.938 kB / 0.8154 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.3762, allocations: 0.5556 MB / 0.816 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.3783, allocations: 2.711 MB / 0.8186 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.13e-05/0.3784, allocations: 146.2 kB / 0.8187 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.167e-05/0.3785, allocations: 30.97 kB / 0.8188 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.3785, allocations: 80.47 kB / 0.8189 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of SimCode: time 4.61e-07/0.3785, allocations: 0 / 0.8189 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.3977, allocations: 6.991 MB / 0.8257 GB, free: 3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/7.013, allocations: 9.812 kB / 0.8257 GB, free: 2.996 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.56547250971198] Failed to read output from testmodel.py, exit status != 0: 7.095525746233761 7.104229902 6.73157981 Calling exit ...