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.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.00123/0.00123, allocations: 110.1 kB / 19.58 MB, free: 2.336 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.001257/0.001257, allocations: 188.4 kB / 22.85 MB, free: 5.641 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.328/1.328, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] 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.002433/0.002433, allocations: 301 kB / 307.1 MB, free: 8.344 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.144/1.144, allocations: 180.8 MB / 0.5304 GB, free: 14.49 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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002685/0.002685, allocations: 103.6 kB / 0.7311 GB, free: 38.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1567, allocations: 94.21 MB / 0.8231 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.186/0.3427, allocations: 173 MB / 0.992 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.3537, allocations: 9.553 MB / 1.001 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.3541, allocations: 15.88 kB / 1.001 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.3548, allocations: 190.7 kB / 1.002 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.3552, allocations: 103.3 kB / 1.002 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.3554, allocations: 63.86 kB / 1.002 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.000496/0.3559, allocations: 326.7 kB / 1.002 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.3563, allocations: 137.3 kB / 1.002 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003857/0.3566, allocations: 171.3 kB / 1.002 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.3568, allocations: 131.4 kB / 1.002 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.3569, allocations: 24 kB / 1.002 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 4.103e-05/0.3569, allocations: 20 kB / 1.002 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.357, allocations: 79.69 kB / 1.003 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3571, allocations: 127.4 kB / 1.003 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.3574, allocations: 298.6 kB / 1.003 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3574, allocations: 0 / 1.003 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3574, allocations: 0 / 1.003 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.3575, allocations: 0 / 1.003 GB, free: 8.988 MB / 0.7481 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.000526/0.358, allocations: 453.6 kB / 1.003 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.358, allocations: 12.03 kB / 1.003 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.3581, allocations: 31.75 kB / 1.003 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.3584, allocations: 220.7 kB / 1.004 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.3585, allocations: 16.66 kB / 1.004 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.3585, allocations: 28 kB / 1.004 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.359, allocations: 317.2 kB / 1.004 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.359, allocations: 7.938 kB / 1.004 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.359, allocations: 19.98 kB / 1.004 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.359, allocations: 8 kB / 1.004 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.3592, allocations: 143.6 kB / 1.004 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.3606, allocations: 1.78 MB / 1.006 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.895e-05/0.3607, allocations: 165.1 kB / 1.006 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.3607, allocations: 84.08 kB / 1.006 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.3608, allocations: 79.22 kB / 1.006 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.3608, allocations: 113.8 kB / 1.006 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3608, allocations: 0 / 1.006 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001064/0.3609, allocations: 57.52 kB / 1.006 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.361, allocations: 126.7 kB / 1.006 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/0.3614, allocations: 373.7 kB / 1.007 GB, free: 4.758 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.3614, allocations: 25.7 kB / 1.007 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3616, allocations: 163.9 kB / 1.007 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.3616, allocations: 0 / 1.007 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.3616, allocations: 29.7 kB / 1.007 GB, free: 4.527 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3617, allocations: 334.8 kB / 1.007 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.3618, allocations: 7.938 kB / 1.007 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.3618, allocations: 32.3 kB / 1.007 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.215e-05/0.3618, allocations: 48.34 kB / 1.007 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3619, allocations: 8 kB / 1.007 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001508/0.362, allocations: 93.31 kB / 1.008 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.362, allocations: 8 kB / 1.008 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.362, allocations: 4.156 kB / 1.008 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.362, allocations: 3.938 kB / 1.008 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.3621, allocations: 8 kB / 1.008 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3621, allocations: 4 kB / 1.008 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.203e-05/0.3622, allocations: 27.73 kB / 1.008 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.3622, allocations: 0 / 1.008 GB, free: 3.914 MB / 0.7481 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 0.0001484/0.3623, allocations: 213.8 kB / 1.008 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/0.3624, allocations: 136.7 kB / 1.008 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.751e-05/0.3625, allocations: 135 kB / 1.008 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.043e-05/0.3626, allocations: 188.1 kB / 1.008 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-05/0.3626, allocations: 176.3 kB / 1.008 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.885e-05/0.3627, allocations: 176.3 kB / 1.009 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.363, allocations: 468.1 kB / 1.009 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.282e-05/0.3631, allocations: 108.9 kB / 1.009 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.3631, allocations: 108.9 kB / 1.009 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-05/0.3632, allocations: 180.3 kB / 1.009 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-05/0.3633, allocations: 180.3 kB / 1.01 GB, free: 1.762 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7e-05/0.3633, allocations: 180.2 kB / 1.01 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.716e-05/0.3634, allocations: 176.3 kB / 1.01 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.3636, allocations: 335.8 kB / 1.01 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-05/0.3637, allocations: 140.8 kB / 1.01 GB, free: 0.9023 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/0.3637, allocations: 184.2 kB / 1.011 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3638, allocations: 101 kB / 1.011 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.3639, allocations: 188.2 kB / 1.011 GB, free: 428 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.364, allocations: 109 kB / 1.011 GB, free: 312 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002621/0.3642, allocations: 263.2 kB / 1.011 GB, free: 48 kB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.3642, allocations: 0 / 1.011 GB, free: 48 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002556/0.3645, allocations: 32 kB / 1.011 GB, free: 16 kB / 0.7481 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.337/0.7015, allocations: 169.7 kB / 1.011 GB, free: 193.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.7016, allocations: 13.88 kB / 1.011 GB, free: 193.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7016, allocations: 0 / 1.011 GB, free: 193.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.7016, allocations: 3.438 kB / 1.011 GB, free: 193.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007265/0.7023, allocations: 0.5476 MB / 1.012 GB, free: 193.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.7028, allocations: 446.5 kB / 1.012 GB, free: 193 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.703, allocations: 0.7539 MB / 1.013 GB, free: 192.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.867e-05/0.7031, allocations: 33.33 kB / 1.013 GB, free: 192.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.7031, allocations: 18.56 kB / 1.013 GB, free: 192.3 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.7031, allocations: 1.875 kB / 1.013 GB, free: 192.3 MB / 0.7481 GB Notification: Performance of Templates: time 0.006191/0.7093, allocations: 3.221 MB / 1.016 GB, free: 192.2 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.081605884995952] Failed to read output from testmodel.py, exit status != 0: 0.7163965650033788 0.728264033 0.368699458 Calling exit ...