Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_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.0008313/0.0008314, allocations: 90.52 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.004691/0.004691, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.165/1.165, 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.506/1.506, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004632/0.0004632, allocations: 18.53 kB / 0.6744 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1605, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4376/0.5981, allocations: 169.6 MB / 0.9536 GB, free: 288 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006899/0.605, allocations: 9.385 MB / 0.9628 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.6052, allocations: 11.03 kB / 0.9628 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.6056, allocations: 148.8 kB / 0.963 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.6058, allocations: 79.23 kB / 0.963 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.606, allocations: 60.12 kB / 0.9631 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.6063, allocations: 379.3 kB / 0.9635 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.6066, allocations: 202.4 kB / 0.9636 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.6068, allocations: 130.1 kB / 0.9638 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.524e-05/0.6069, allocations: 89.75 kB / 0.9639 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.6069, allocations: 3.969 kB / 0.9639 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.229e-05/0.607, allocations: 4.594 kB / 0.9639 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.607, allocations: 60.95 kB / 0.9639 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.186e-05/0.6071, allocations: 129.2 kB / 0.964 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.6073, allocations: 265.5 kB / 0.9643 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6073, allocations: 1.156 kB / 0.9643 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6073, allocations: 0 / 0.9643 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.6073, allocations: 0 / 0.9643 GB, free: 15.36 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0003613/0.6077, allocations: 471.2 kB / 0.9647 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.6077, allocations: 9.531 kB / 0.9648 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.6078, allocations: 64.42 kB / 0.9648 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.6078, allocations: 34.66 kB / 0.9649 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.6081, allocations: 265.7 kB / 0.9651 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.6081, allocations: 20.66 kB / 0.9651 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.6081, allocations: 28.25 kB / 0.9652 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.6085, allocations: 321.7 kB / 0.9655 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.6085, allocations: 0.9688 kB / 0.9655 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.6086, allocations: 10.47 kB / 0.9655 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.6086, allocations: 7.594 kB / 0.9655 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.6088, allocations: 146.2 kB / 0.9656 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009744/0.6097, allocations: 1.819 MB / 0.9674 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.919e-05/0.6098, allocations: 178.2 kB / 0.9676 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.6098, allocations: 81.2 kB / 0.9676 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.6099, allocations: 79.22 kB / 0.9677 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.6099, allocations: 110.5 kB / 0.9678 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.6099, allocations: 0 / 0.9678 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.163e-05/0.61, allocations: 57.31 kB / 0.9679 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.61, allocations: 130.7 kB / 0.968 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.6104, allocations: 377.1 kB / 0.9684 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.6104, allocations: 25.7 kB / 0.9684 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.6105, allocations: 163.5 kB / 0.9685 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.6105, allocations: 0 / 0.9685 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.6105, allocations: 10.72 kB / 0.9686 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.6106, allocations: 338.4 kB / 0.9689 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.6106, allocations: 6.531 kB / 0.9689 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.6106, allocations: 40.16 kB / 0.9689 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.805e-05/0.6107, allocations: 44.55 kB / 0.969 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6107, allocations: 1.859 kB / 0.969 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001245/0.6108, allocations: 96.42 kB / 0.9691 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.6108, allocations: 4.656 kB / 0.9691 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6108, allocations: 1.469 kB / 0.9691 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.6109, allocations: 5.312 kB / 0.9691 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.6109, allocations: 10.73 kB / 0.9691 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.6109, allocations: 5.125 kB / 0.9691 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.53e-05/0.611, allocations: 27.25 kB / 0.9691 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.611, allocations: 2.312 kB / 0.9691 GB, free: 11.59 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.6111, allocations: 215.5 kB / 0.9693 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.6112, allocations: 136.6 kB / 0.9694 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.371e-05/0.6112, allocations: 130 kB / 0.9696 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-05/0.6113, allocations: 177.2 kB / 0.9697 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.287e-05/0.6113, allocations: 191.2 kB / 0.9699 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.183e-05/0.6114, allocations: 177.3 kB / 0.9701 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.6116, allocations: 490 kB / 0.9706 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/0.6117, allocations: 108.9 kB / 0.9707 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.6117, allocations: 103.9 kB / 0.9708 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.521e-05/0.6117, allocations: 181.8 kB / 0.9709 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.6118, allocations: 188.5 kB / 0.9711 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.111e-05/0.6118, allocations: 180.3 kB / 0.9713 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.633e-05/0.6119, allocations: 181.8 kB / 0.9715 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.612, allocations: 328.9 kB / 0.9718 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.478e-05/0.6121, allocations: 214.1 kB / 0.972 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.6122, allocations: 181 kB / 0.9721 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/0.6123, allocations: 108.5 kB / 0.9723 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.6123, allocations: 177.8 kB / 0.9724 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.6124, allocations: 106 kB / 0.9725 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002267/0.6126, allocations: 267.7 kB / 0.9728 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6126, allocations: 4 kB / 0.9728 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002366/0.6129, allocations: 34.16 kB / 0.9728 GB, free: 8.004 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.0002944/0.6132, allocations: 0.8285 MB / 0.9736 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.133e-05/0.6132, allocations: 22.92 kB / 0.9736 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6132, allocations: 1.344 kB / 0.9736 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.6132, allocations: 1.859 kB / 0.9736 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000727/0.614, allocations: 0.6144 MB / 0.9742 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.6163, allocations: 2.756 MB / 0.9769 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.6166, allocations: 0.7565 MB / 0.9777 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.6167, allocations: 32.48 kB / 0.9777 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.6167, allocations: 77.33 kB / 0.9778 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.6167, allocations: 1.438 kB / 0.9778 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.5/2.117, allocations: 5.499 MB / 0.9832 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/2.117, allocations: 214.8 kB / 0.9834 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/4.754, allocations: 0 / 0.9834 GB, free: 2.531 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)