Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008677/0.0008678, 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.004758/0.004758, allocations: 174.1 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.249/1.249, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 262.6 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.8839/0.8839, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 13.38 kB / 0.5988 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4531/0.5819, allocations: 169.6 MB / 0.8509 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008702/0.5907, allocations: 9.394 MB / 0.86 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.591, allocations: 12 kB / 0.86 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.5915, allocations: 140.8 kB / 0.8602 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.5917, allocations: 97.52 kB / 0.8603 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.5919, allocations: 48.08 kB / 0.8603 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000356/0.5922, allocations: 382.2 kB / 0.8607 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.5925, allocations: 195.6 kB / 0.8609 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.5928, allocations: 132.4 kB / 0.861 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.5929, allocations: 95.31 kB / 0.8611 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.5929, allocations: 4.656 kB / 0.8611 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.139e-05/0.593, allocations: 2.969 kB / 0.8611 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.5931, allocations: 49.52 kB / 0.8611 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.5932, allocations: 125.2 kB / 0.8613 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.5934, allocations: 265.5 kB / 0.8615 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5934, allocations: 0 / 0.8615 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5934, allocations: 0 / 0.8615 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.5934, allocations: 0 / 0.8615 GB, free: 5.332 MB / 0.5762 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.0004406/0.5939, allocations: 469.5 kB / 0.862 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5939, allocations: 14.45 kB / 0.862 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.867e-05/0.594, allocations: 58.95 kB / 0.862 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.594, allocations: 35.94 kB / 0.8621 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.5943, allocations: 271.2 kB / 0.8623 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.5943, allocations: 20.44 kB / 0.8623 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.5944, allocations: 24.84 kB / 0.8624 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.5948, allocations: 320.8 kB / 0.8627 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5948, allocations: 3.938 kB / 0.8627 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.5948, allocations: 13.06 kB / 0.8627 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5949, allocations: 5.344 kB / 0.8627 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.5951, allocations: 151.8 kB / 0.8628 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.5963, allocations: 1.817 MB / 0.8646 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.5964, allocations: 169.1 kB / 0.8648 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.5964, allocations: 80.14 kB / 0.8648 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.5965, allocations: 82.03 kB / 0.8649 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.5965, allocations: 113.8 kB / 0.865 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.5965, allocations: 0 / 0.865 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.343e-05/0.5966, allocations: 50.48 kB / 0.8651 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.5967, allocations: 130.7 kB / 0.8652 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.597, allocations: 368.6 kB / 0.8656 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.5971, allocations: 25.7 kB / 0.8656 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.5972, allocations: 166 kB / 0.8657 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-06/0.5972, allocations: 14.48 kB / 0.8658 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.5972, allocations: 9.719 kB / 0.8658 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5973, allocations: 338.8 kB / 0.8661 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.5974, allocations: 2.875 kB / 0.8661 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.5974, allocations: 37.39 kB / 0.8661 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.5975, allocations: 53.19 kB / 0.8662 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5975, allocations: 0 / 0.8662 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001522/0.5976, allocations: 83.12 kB / 0.8663 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.5977, allocations: 5.375 kB / 0.8663 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.5977, allocations: 6.938 kB / 0.8663 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5977, allocations: 0 / 0.8663 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.524e-05/0.5977, allocations: 16.5 kB / 0.8663 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5978, allocations: 2.844 kB / 0.8663 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.5978, allocations: 24.69 kB / 0.8663 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.5978, allocations: 2.938 kB / 0.8663 GB, free: 0.793 MB / 0.5762 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.0001354/0.598, allocations: 215.5 kB / 0.8665 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.5981, allocations: 134.6 kB / 0.8666 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.389e-05/0.5981, allocations: 137.5 kB / 0.8668 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-05/0.5982, allocations: 176.3 kB / 0.8669 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.887e-05/0.5983, allocations: 180.4 kB / 0.8671 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.339e-05/0.5984, allocations: 179.2 kB / 0.8673 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.5987, allocations: 493.7 kB / 0.8678 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.603e-05/0.5987, allocations: 112.9 kB / 0.8679 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.5988, allocations: 104.2 kB / 0.868 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.754e-05/0.5988, allocations: 184 kB / 0.8681 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.5989, allocations: 180.4 kB / 0.8683 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.718e-05/0.599, allocations: 187 kB / 0.8685 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.913e-05/0.599, allocations: 176.3 kB / 0.8687 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.5992, allocations: 339.1 kB / 0.869 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.5993, allocations: 215 kB / 0.8692 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.831e-05/0.5994, allocations: 180.2 kB / 0.8694 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.5995, allocations: 106.8 kB / 0.8695 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.5996, allocations: 184.2 kB / 0.8696 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.5996, allocations: 108.2 kB / 0.8697 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002468/0.5999, allocations: 268.7 kB / 0.87 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5999, allocations: 0 / 0.87 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002429/0.6002, allocations: 27.25 kB / 0.87 GB, free: 12.99 MB / 0.5919 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.0004135/0.6006, allocations: 0.8398 MB / 0.8708 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.491e-05/0.6006, allocations: 15.97 kB / 0.8709 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6007, allocations: 0 / 0.8709 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.6007, allocations: 6.844 kB / 0.8709 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008425/0.6015, allocations: 0.6191 MB / 0.8715 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.6041, allocations: 2.748 MB / 0.8742 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.6044, allocations: 0.7625 MB / 0.8749 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000101/0.6046, allocations: 31.59 kB / 0.8749 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/0.6047, allocations: 81.19 kB / 0.875 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.6047, allocations: 0 / 0.875 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.6202, allocations: 5.519 MB / 0.8804 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.6204, allocations: 224.9 kB / 0.8806 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.297, allocations: 0 / 0.8806 GB, free: 5.879 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)