Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_Buildings_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.0009328/0.0009329, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005084/0.005084, allocations: 171.3 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005131/0.0005131, allocations: 19.44 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1704, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4773/0.6478, allocations: 143.9 MB / 0.9285 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003621/0.6514, allocations: 4.562 MB / 0.933 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.6516, allocations: 8.875 kB / 0.933 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.652, allocations: 130.3 kB / 0.9331 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.6522, allocations: 83.06 kB / 0.9332 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.6524, allocations: 51.23 kB / 0.9332 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.6527, allocations: 369.2 kB / 0.9336 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.6529, allocations: 140.8 kB / 0.9337 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.6531, allocations: 85.77 kB / 0.9338 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.6532, allocations: 136.7 kB / 0.9339 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.6533, allocations: 5.25 kB / 0.9339 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.11e-05/0.6533, allocations: 5.25 kB / 0.9339 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.6533, allocations: 50.19 kB / 0.934 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.6536, allocations: 109.2 kB / 0.9341 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.6538, allocations: 211.9 kB / 0.9343 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6538, allocations: 4 kB / 0.9343 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6538, allocations: 3.938 kB / 0.9343 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.6538, allocations: 2.625 kB / 0.9343 GB, free: 20.93 MB / 0.7325 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.0003516/0.6542, allocations: 445.7 kB / 0.9347 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.6542, allocations: 8.531 kB / 0.9347 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.6543, allocations: 60.11 kB / 0.9348 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.6543, allocations: 28.12 kB / 0.9348 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.6546, allocations: 254 kB / 0.9351 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.6546, allocations: 16.06 kB / 0.9351 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.6546, allocations: 23.69 kB / 0.9351 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.655, allocations: 305.5 kB / 0.9354 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.655, allocations: 2.578 kB / 0.9354 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.655, allocations: 12.62 kB / 0.9354 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.655, allocations: 5.531 kB / 0.9354 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.6552, allocations: 126 kB / 0.9355 GB, free: 20.09 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.6563, allocations: 1.978 MB / 0.9375 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.64e-05/0.6564, allocations: 166.9 kB / 0.9376 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.6564, allocations: 80.14 kB / 0.9377 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.6565, allocations: 79.59 kB / 0.9378 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.6565, allocations: 111 kB / 0.9379 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.6565, allocations: 0 / 0.9379 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.121e-05/0.6566, allocations: 53.48 kB / 0.9379 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.6566, allocations: 129.4 kB / 0.9381 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.657, allocations: 335.2 kB / 0.9384 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.657, allocations: 25.7 kB / 0.9384 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.6571, allocations: 161.8 kB / 0.9386 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.6571, allocations: 0.5625 kB / 0.9386 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.6571, allocations: 20.25 kB / 0.9386 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6572, allocations: 335 kB / 0.9389 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.6572, allocations: 7.281 kB / 0.9389 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.6573, allocations: 55.69 kB / 0.939 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.6573, allocations: 71.77 kB / 0.939 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6573, allocations: 5.719 kB / 0.939 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001594/0.6575, allocations: 99.88 kB / 0.9391 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.6575, allocations: 6.438 kB / 0.9391 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.6575, allocations: 3.5 kB / 0.9391 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.6576, allocations: 4.688 kB / 0.9391 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/0.6576, allocations: 17.83 kB / 0.9392 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6576, allocations: 4.906 kB / 0.9392 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.6577, allocations: 32.38 kB / 0.9392 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.6577, allocations: 7.562 kB / 0.9392 GB, free: 16.95 MB / 0.7325 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.0001195/0.6578, allocations: 216.6 kB / 0.9394 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.6579, allocations: 131.8 kB / 0.9395 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.658, allocations: 133.7 kB / 0.9397 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.837e-05/0.6581, allocations: 179.1 kB / 0.9398 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-05/0.6581, allocations: 182.8 kB / 0.94 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.012e-05/0.6582, allocations: 183.1 kB / 0.9402 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.6585, allocations: 476.4 kB / 0.9406 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.384e-05/0.6585, allocations: 106.3 kB / 0.9407 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.6585, allocations: 104.1 kB / 0.9408 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-05/0.6586, allocations: 181 kB / 0.941 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.6587, allocations: 188.7 kB / 0.9412 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-05/0.6587, allocations: 181.9 kB / 0.9414 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-05/0.6588, allocations: 178.7 kB / 0.9415 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.6589, allocations: 326.5 kB / 0.9418 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.659, allocations: 210.2 kB / 0.942 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.6591, allocations: 182.4 kB / 0.9422 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.6592, allocations: 110.3 kB / 0.9423 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.6593, allocations: 179.8 kB / 0.9425 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.6594, allocations: 107.6 kB / 0.9426 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002072/0.6596, allocations: 239.7 kB / 0.9428 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.81e-07/0.6596, allocations: 4 kB / 0.9428 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002536/0.6598, allocations: 27.27 kB / 0.9429 GB, free: 13.39 MB / 0.7325 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.0003387/0.6602, allocations: 0.8252 MB / 0.9437 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.706e-05/0.6603, allocations: 33.56 kB / 0.9437 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6603, allocations: 0 / 0.9437 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.6603, allocations: 3.125 kB / 0.9437 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.661, allocations: 0.5915 MB / 0.9443 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.6631, allocations: 2.56 MB / 0.9468 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.6634, allocations: 0.7526 MB / 0.9475 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.622e-05/0.6635, allocations: 28.7 kB / 0.9475 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.6636, allocations: 60 kB / 0.9476 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.6636, allocations: 3.375 kB / 0.9476 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8645/1.528, allocations: 4.444 MB / 0.9519 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/1.528, allocations: 211.2 kB / 0.9521 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/4, allocations: 0 / 0.9521 GB, free: 9.109 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)