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.0008928/0.0008929, allocations: 90.75 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005016/0.005016, allocations: 172 kB / 16.26 MB, free: 6.613 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 267 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9034/0.9034, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 17.64 kB / 0.5988 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 88.53 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3848/0.5131, allocations: 143.9 MB / 0.8257 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003644/0.5168, allocations: 4.563 MB / 0.8302 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.5169, allocations: 6.5 kB / 0.8302 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.5172, allocations: 136 kB / 0.8303 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.5175, allocations: 78.42 kB / 0.8304 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.5176, allocations: 52.98 kB / 0.8305 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.518, allocations: 361.6 kB / 0.8308 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.5182, allocations: 143.5 kB / 0.8309 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.5183, allocations: 81.06 kB / 0.831 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.5185, allocations: 137.6 kB / 0.8311 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.5185, allocations: 9.438 kB / 0.8312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.5186, allocations: 4.125 kB / 0.8312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.5186, allocations: 51.03 kB / 0.8312 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.149e-05/0.5187, allocations: 120.8 kB / 0.8313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.5189, allocations: 211.6 kB / 0.8315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.5189, allocations: 0 / 0.8315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5189, allocations: 0 / 0.8315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.5189, allocations: 0 / 0.8315 GB, free: 13.45 MB / 0.5606 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.0003746/0.5193, allocations: 448 kB / 0.8319 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.5194, allocations: 9.625 kB / 0.832 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.5194, allocations: 61.59 kB / 0.832 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.5195, allocations: 28.41 kB / 0.832 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.5197, allocations: 260.8 kB / 0.8323 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.5197, allocations: 17.06 kB / 0.8323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.5198, allocations: 22.31 kB / 0.8323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.5201, allocations: 303.5 kB / 0.8326 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5201, allocations: 1.375 kB / 0.8326 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.5202, allocations: 12.12 kB / 0.8326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5202, allocations: 5.5 kB / 0.8326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.5204, allocations: 125.6 kB / 0.8328 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.5215, allocations: 1.974 MB / 0.8347 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.309e-05/0.5216, allocations: 170.3 kB / 0.8348 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.5216, allocations: 80.14 kB / 0.8349 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.5216, allocations: 79.28 kB / 0.835 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.5217, allocations: 115.2 kB / 0.8351 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.5217, allocations: 0 / 0.8351 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.632e-05/0.5218, allocations: 57.83 kB / 0.8352 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.5218, allocations: 126.7 kB / 0.8353 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.5221, allocations: 330.6 kB / 0.8356 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.5222, allocations: 25.7 kB / 0.8356 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.5223, allocations: 161.3 kB / 0.8358 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-06/0.5223, allocations: 5.219 kB / 0.8358 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.5223, allocations: 14.89 kB / 0.8358 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5224, allocations: 333.1 kB / 0.8361 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.5224, allocations: 8.141 kB / 0.8361 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.5225, allocations: 55.56 kB / 0.8362 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.5226, allocations: 75.05 kB / 0.8362 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5226, allocations: 1.312 kB / 0.8362 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001604/0.5227, allocations: 105.2 kB / 0.8363 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.5228, allocations: 8.812 kB / 0.8364 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5228, allocations: 2.781 kB / 0.8364 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.5228, allocations: 5.688 kB / 0.8364 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.5228, allocations: 20.45 kB / 0.8364 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.5229, allocations: 2.75 kB / 0.8364 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.5229, allocations: 30.62 kB / 0.8364 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.5229, allocations: 6.094 kB / 0.8364 GB, free: 8.715 MB / 0.5606 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.0001168/0.5231, allocations: 218.6 kB / 0.8366 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.5231, allocations: 120.5 kB / 0.8367 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.313e-05/0.5232, allocations: 130.5 kB / 0.8369 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.817e-05/0.5233, allocations: 181.3 kB / 0.837 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-05/0.5233, allocations: 181.1 kB / 0.8372 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.178e-05/0.5234, allocations: 181.3 kB / 0.8374 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.5236, allocations: 478.8 kB / 0.8378 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/0.5237, allocations: 106 kB / 0.8379 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.5237, allocations: 102.4 kB / 0.838 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.306e-05/0.5238, allocations: 181.5 kB / 0.8382 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.5238, allocations: 184.1 kB / 0.8384 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-05/0.5239, allocations: 177.8 kB / 0.8386 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-05/0.5239, allocations: 189.3 kB / 0.8387 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.5241, allocations: 327.2 kB / 0.8391 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.481e-05/0.5242, allocations: 210.5 kB / 0.8393 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/0.5242, allocations: 181.3 kB / 0.8394 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.5243, allocations: 104.9 kB / 0.8395 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.5244, allocations: 177.7 kB / 0.8397 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.5244, allocations: 109.8 kB / 0.8398 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002048/0.5246, allocations: 240.9 kB / 0.84 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5246, allocations: 3.938 kB / 0.84 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002401/0.5249, allocations: 24.34 kB / 0.8401 GB, free: 4.965 MB / 0.5606 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.0003293/0.5252, allocations: 0.828 MB / 0.8409 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.373e-05/0.5253, allocations: 30.39 kB / 0.8409 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.5253, allocations: 0 / 0.8409 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.155e-06/0.5253, allocations: 5.656 kB / 0.8409 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.526, allocations: 0.5857 MB / 0.8415 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.5281, allocations: 2.572 MB / 0.844 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.5284, allocations: 0.7455 MB / 0.8447 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.762e-05/0.5285, allocations: 30.31 kB / 0.8447 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.5286, allocations: 63.56 kB / 0.8448 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of SimCode: time 2.01e-07/0.5286, allocations: 0 / 0.8448 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4852/1.014, allocations: 4.451 MB / 0.8492 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.014, allocations: 222.3 kB / 0.8494 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.577, allocations: 3.25 kB / 0.8494 GB, free: 14.44 MB / 0.5762 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)