Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 222.9 MB / 240.2 MB, free: 4.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00238/0.00238, allocations: 286.5 kB / 290.7 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 178.6 MB / 0.5073 GB, free: 4.543 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 98.8 kB / 0.6065 GB, free: 24.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1466, allocations: 89.15 MB / 0.6936 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4001/0.5467, allocations: 148 MB / 0.8381 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00539/0.5521, allocations: 4.644 MB / 0.8427 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.5524, allocations: 10.94 kB / 0.8427 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.5529, allocations: 165.9 kB / 0.8428 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.5532, allocations: 86.05 kB / 0.8429 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.5533, allocations: 64.52 kB / 0.843 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.5537, allocations: 301.8 kB / 0.8433 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.554, allocations: 144.4 kB / 0.8434 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.5542, allocations: 112.2 kB / 0.8435 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.5544, allocations: 158.5 kB / 0.8437 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.5544, allocations: 16.38 kB / 0.8437 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.114e-05/0.5544, allocations: 16.84 kB / 0.8437 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.844e-05/0.5545, allocations: 63.58 kB / 0.8438 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.5546, allocations: 105.6 kB / 0.8439 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.5549, allocations: 220.8 kB / 0.8441 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5549, allocations: 0 / 0.8441 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5549, allocations: 0 / 0.8441 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.5549, allocations: 1.125 kB / 0.8441 GB, free: 8.715 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005/0.5554, allocations: 499.4 kB / 0.8445 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.5555, allocations: 12.23 kB / 0.8446 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/0.5555, allocations: 54.98 kB / 0.8446 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.5556, allocations: 26.41 kB / 0.8446 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.5559, allocations: 261 kB / 0.8449 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5559, allocations: 17.56 kB / 0.8449 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.5559, allocations: 22.31 kB / 0.8449 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.5563, allocations: 307.5 kB / 0.8452 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5563, allocations: 5.375 kB / 0.8452 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.5564, allocations: 10.75 kB / 0.8452 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.5564, allocations: 6.875 kB / 0.8452 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.5566, allocations: 125.6 kB / 0.8454 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.558, allocations: 1.976 MB / 0.8473 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.831e-05/0.5581, allocations: 177.1 kB / 0.8475 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.5582, allocations: 81.52 kB / 0.8475 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.5582, allocations: 75.28 kB / 0.8476 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.5583, allocations: 107.2 kB / 0.8477 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5583, allocations: 0 / 0.8477 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.02e-05/0.5584, allocations: 60.3 kB / 0.8478 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.5584, allocations: 132 kB / 0.8479 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.5588, allocations: 331.1 kB / 0.8482 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.5588, allocations: 25.7 kB / 0.8482 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.5589, allocations: 164.2 kB / 0.8484 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.5589, allocations: 1.938 kB / 0.8484 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.559, allocations: 18.22 kB / 0.8484 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5591, allocations: 337.8 kB / 0.8487 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.5592, allocations: 7.969 kB / 0.8487 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.061e-05/0.5592, allocations: 54.42 kB / 0.8488 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.083e-05/0.5593, allocations: 72.16 kB / 0.8489 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5593, allocations: 1.156 kB / 0.8489 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001741/0.5595, allocations: 109.5 kB / 0.849 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5595, allocations: 3.969 kB / 0.849 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5595, allocations: 2.562 kB / 0.849 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5595, allocations: 6.594 kB / 0.849 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.5596, allocations: 12.59 kB / 0.849 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5596, allocations: 1.406 kB / 0.849 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.5597, allocations: 28.31 kB / 0.849 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.5597, allocations: 4.125 kB / 0.849 GB, free: 3.949 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001471/0.5599, allocations: 219.3 kB / 0.8492 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.56, allocations: 123.9 kB / 0.8493 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.396e-05/0.56, allocations: 135.1 kB / 0.8495 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.78e-05/0.5601, allocations: 178.8 kB / 0.8496 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.749e-05/0.5602, allocations: 176.3 kB / 0.8498 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.77e-05/0.5603, allocations: 180.2 kB / 0.85 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.5606, allocations: 487.7 kB / 0.8504 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/0.5607, allocations: 109 kB / 0.8506 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.5607, allocations: 103 kB / 0.8506 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-05/0.5608, allocations: 180.2 kB / 0.8508 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/0.5609, allocations: 190.7 kB / 0.851 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-05/0.561, allocations: 182 kB / 0.8512 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-05/0.5611, allocations: 183 kB / 0.8514 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.5612, allocations: 324.5 kB / 0.8517 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.5614, allocations: 209.3 kB / 0.8519 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.5615, allocations: 187 kB / 0.852 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.5616, allocations: 108.9 kB / 0.8521 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.5617, allocations: 176.3 kB / 0.8523 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.5617, allocations: 103.2 kB / 0.8524 GB, free: 352 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002142/0.562, allocations: 243.6 kB / 0.8526 GB, free: 192 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.562, allocations: 0 / 0.8526 GB, free: 192 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002574/0.5622, allocations: 28.81 kB / 0.8527 GB, free: 188 kB / 0.5762 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.0004643/0.5627, allocations: 0.8288 MB / 0.8535 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.24e-05/0.5628, allocations: 24.59 kB / 0.8535 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5628, allocations: 0.5 kB / 0.8535 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.017e-06/0.5628, allocations: 6.188 kB / 0.8535 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.5635, allocations: 0.5334 MB / 0.854 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.566, allocations: 2.519 MB / 0.8565 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.5663, allocations: 0.7461 MB / 0.8572 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.677e-05/0.5664, allocations: 26.03 kB / 0.8572 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.5665, allocations: 56.86 kB / 0.8573 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.5665, allocations: 0 / 0.8573 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1997/0.7663, allocations: 4.756 MB / 0.8619 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.151/9.918, allocations: 6.078 kB / 0.8619 GB, free: 9.754 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)