Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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) 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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001328/0.001328, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001562/0.001562, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003177, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7667, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1729/0.9397, allocations: 145.3 MB / 1.096 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008749/0.9485, allocations: 7.437 MB / 1.103 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.9489, allocations: 7.938 kB / 1.103 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.9492, allocations: 59.61 kB / 1.103 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.9495, allocations: 119.6 kB / 1.103 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.9497, allocations: 43.95 kB / 1.103 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.9503, allocations: 303.3 kB / 1.103 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.9507, allocations: 141 kB / 1.103 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.951, allocations: 123.5 kB / 1.104 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.9511, allocations: 71.53 kB / 1.104 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.9512, allocations: 4 kB / 1.104 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.374e-05/0.9512, allocations: 4 kB / 1.104 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.9513, allocations: 51.83 kB / 1.104 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.63e-05/0.9513, allocations: 65.58 kB / 1.104 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.9516, allocations: 215.4 kB / 1.104 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.9516, allocations: 0 / 1.104 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9516, allocations: 0 / 1.104 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.9516, allocations: 0 / 1.104 GB, free: 5.855 MB / 0.8575 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.0005297/0.9522, allocations: 479 kB / 1.104 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.9522, allocations: 8.031 kB / 1.104 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.173e-05/0.9523, allocations: 62.55 kB / 1.104 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.9523, allocations: 27.67 kB / 1.104 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.9527, allocations: 274.5 kB / 1.105 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.9527, allocations: 16.56 kB / 1.105 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.9528, allocations: 24 kB / 1.105 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.9532, allocations: 323.9 kB / 1.105 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.9532, allocations: 0 / 1.105 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.9533, allocations: 15.94 kB / 1.105 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.9533, allocations: 12 kB / 1.105 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.9535, allocations: 147.7 kB / 1.105 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.9549, allocations: 1.812 MB / 1.107 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.955, allocations: 173.1 kB / 1.107 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.955, allocations: 75.28 kB / 1.107 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.9551, allocations: 109.8 kB / 1.107 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.9551, allocations: 0 / 1.107 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.054e-05/0.9552, allocations: 53.33 kB / 1.107 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.9553, allocations: 126.7 kB / 1.108 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.9557, allocations: 373.7 kB / 1.108 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.9557, allocations: 25.7 kB / 1.108 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.9558, allocations: 171.7 kB / 1.108 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.9558, allocations: 3.938 kB / 1.108 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.9558, allocations: 8 kB / 1.108 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.956, allocations: 338.8 kB / 1.108 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.956, allocations: 8 kB / 1.108 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.956, allocations: 32.3 kB / 1.108 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.9561, allocations: 19.98 kB / 1.108 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9561, allocations: 0 / 1.108 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001626/0.9563, allocations: 85.28 kB / 1.109 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.9563, allocations: 8 kB / 1.109 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.9563, allocations: 0 / 1.109 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.9563, allocations: 4 kB / 1.109 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.9564, allocations: 4 kB / 1.109 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.9564, allocations: 4 kB / 1.109 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.9565, allocations: 31.75 kB / 1.109 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.9565, allocations: 112 / 1.109 GB, free: 0.7344 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.9566, allocations: 224.9 kB / 1.109 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.9567, allocations: 124.7 kB / 1.109 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.663e-05/0.9568, allocations: 135 kB / 1.109 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.577e-05/0.9569, allocations: 184.2 kB / 1.109 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.97e-05/0.957, allocations: 184.3 kB / 1.109 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-05/0.9571, allocations: 180.2 kB / 1.11 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.9574, allocations: 497 kB / 1.11 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-05/0.9575, allocations: 101 kB / 1.11 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.9575, allocations: 108.9 kB / 1.11 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.414e-05/0.9576, allocations: 180.3 kB / 1.11 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.085e-05/0.9577, allocations: 188.2 kB / 1.111 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.811e-05/0.9578, allocations: 176.3 kB / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-05/0.9579, allocations: 176.3 kB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.9581, allocations: 339.3 kB / 1.111 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.9583, allocations: 213.7 kB / 1.111 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.9584, allocations: 180.3 kB / 1.112 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.9585, allocations: 101 kB / 1.112 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.9586, allocations: 180.2 kB / 1.112 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.9587, allocations: 105 kB / 1.112 GB, free: 13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002967/0.959, allocations: 271.2 kB / 1.112 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.959, allocations: 4 kB / 1.112 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002793/0.9592, allocations: 27.94 kB / 1.112 GB, free: 12.71 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004996/0.9598, allocations: 0.8396 MB / 1.113 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.853e-05/0.9599, allocations: 24.11 kB / 1.113 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9599, allocations: 0 / 1.113 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.9599, allocations: 4 kB / 1.113 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.9607, allocations: 0.6097 MB / 1.114 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.9628, allocations: 1.996 MB / 1.116 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.9631, allocations: 0.756 MB / 1.116 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.9632, allocations: 30.97 kB / 1.116 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.682e-05/0.9633, allocations: 79.41 kB / 1.117 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/0.9633, allocations: 0 / 1.117 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.9795, allocations: 5.484 MB / 1.122 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.9797, allocations: 201.5 kB / 1.122 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.717, allocations: 4 kB / 1.122 GB, free: 2.719 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat does not exist to compare? outputFormat=mat