Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.001067/0.001067, allocations: 99.86 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.001155/0.001155, 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 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 222.1 MB, free: 5.551 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.944/1.944, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0005308/0.0005309, allocations: 13.5 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2447, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.7283/0.973, allocations: 145.3 MB / 0.9291 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007124/0.9802, allocations: 7.431 MB / 0.9364 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.9807, allocations: 9.625 kB / 0.9364 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.9811, allocations: 63.11 kB / 0.9365 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.9816, allocations: 117.4 kB / 0.9366 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.9817, allocations: 43.81 kB / 0.9366 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000608/0.9823, allocations: 296.8 kB / 0.9369 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.9826, allocations: 110.4 kB / 0.937 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.983, allocations: 119.9 kB / 0.9371 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.9831, allocations: 62.06 kB / 0.9372 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.9831, allocations: 3.875 kB / 0.9372 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.321e-05/0.9831, allocations: 4.812 kB / 0.9372 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.9832, allocations: 19.36 kB / 0.9372 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.9832, allocations: 63.58 kB / 0.9373 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.9834, allocations: 148.7 kB / 0.9374 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.9834, allocations: 3.688 kB / 0.9374 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9834, allocations: 0 / 0.9374 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.9835, allocations: 0 / 0.9374 GB, free: 5.512 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008168/0.9843, allocations: 438.8 kB / 0.9378 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.9843, allocations: 8.219 kB / 0.9378 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.9844, allocations: 57.62 kB / 0.9379 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.9845, allocations: 23.72 kB / 0.9379 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.9848, allocations: 254.2 kB / 0.9381 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.9848, allocations: 12.59 kB / 0.9382 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.9848, allocations: 19.53 kB / 0.9382 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.9852, allocations: 235.6 kB / 0.9384 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.9852, allocations: 0.625 kB / 0.9384 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.9853, allocations: 9.469 kB / 0.9384 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.9853, allocations: 6.188 kB / 0.9384 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.9854, allocations: 90.52 kB / 0.9385 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.9866, allocations: 1.438 MB / 0.9399 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.419e-05/0.9867, allocations: 166.5 kB / 0.9401 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.9867, allocations: 78.17 kB / 0.9401 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.9868, allocations: 106.6 kB / 0.9402 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.863e-06/0.9868, allocations: 4.75 kB / 0.9402 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.218e-05/0.9869, allocations: 52.83 kB / 0.9403 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.987, allocations: 128.3 kB / 0.9404 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.9873, allocations: 282.3 kB / 0.9407 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.9874, allocations: 25.7 kB / 0.9407 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.9875, allocations: 146.2 kB / 0.9409 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.9875, allocations: 3.375 kB / 0.9409 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.9875, allocations: 0 / 0.9409 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9876, allocations: 338 kB / 0.9412 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.9876, allocations: 5.922 kB / 0.9412 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.9877, allocations: 27.38 kB / 0.9412 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.9877, allocations: 7.547 kB / 0.9412 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9877, allocations: 0 / 0.9412 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001473/0.9879, allocations: 80.38 kB / 0.9413 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.9879, allocations: 5.062 kB / 0.9413 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9879, allocations: 2.562 kB / 0.9413 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.9879, allocations: 1.781 kB / 0.9413 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.988, allocations: 8.172 kB / 0.9413 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.988, allocations: 0.9375 kB / 0.9413 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.9881, allocations: 21.19 kB / 0.9413 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.9881, allocations: 2.641 kB / 0.9413 GB, free: 18.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001377/0.9882, allocations: 209.7 kB / 0.9415 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/0.9883, allocations: 123.9 kB / 0.9417 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-05/0.9884, allocations: 123.6 kB / 0.9418 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-05/0.9885, allocations: 181.6 kB / 0.9419 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.708e-05/0.9886, allocations: 180 kB / 0.9421 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.506e-05/0.9886, allocations: 180.9 kB / 0.9423 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.989, allocations: 476.3 kB / 0.9427 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.203e-05/0.9891, allocations: 106.5 kB / 0.9428 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.9891, allocations: 102.5 kB / 0.9429 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-05/0.9892, allocations: 183.6 kB / 0.9431 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.997e-05/0.9893, allocations: 182.5 kB / 0.9433 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.192e-05/0.9894, allocations: 185.1 kB / 0.9435 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.925e-05/0.9894, allocations: 177.4 kB / 0.9436 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.9896, allocations: 328.3 kB / 0.944 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.9898, allocations: 209.8 kB / 0.9442 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.9899, allocations: 188.9 kB / 0.9443 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.99, allocations: 102.3 kB / 0.9444 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.9901, allocations: 181.2 kB / 0.9446 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.9901, allocations: 102.2 kB / 0.9447 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002273/0.9904, allocations: 205.5 kB / 0.9449 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9904, allocations: 0 / 0.9449 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002811/0.9907, allocations: 22.47 kB / 0.9449 GB, free: 14.77 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 (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.0004412/0.9911, allocations: 0.8314 MB / 0.9457 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.951e-05/0.9912, allocations: 10.19 kB / 0.9457 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9912, allocations: 0.875 kB / 0.9457 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.9912, allocations: 0 / 0.9457 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/0.992, allocations: 0.61 MB / 0.9463 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.9937, allocations: 1.532 MB / 0.9478 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.9941, allocations: 0.7301 MB / 0.9485 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.29e-05/0.9942, allocations: 23.16 kB / 0.9486 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.9943, allocations: 58.7 kB / 0.9486 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of SimCode: time 4.2e-07/0.9943, allocations: 1.859 kB / 0.9486 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/1.012, allocations: 4.299 MB / 0.9528 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/1.012, allocations: 188.3 kB / 0.953 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.962, allocations: 7.594 kB / 0.953 GB, free: 11.12 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) Environment - environmentSimulation: