Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_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.001286/0.001286, allocations: 106.7 kB / 15.98 MB, free: 6.355 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.001533/0.001533, allocations: 190.7 kB / 16.91 MB, free: 6.195 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.23/1.23, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6578/0.6578, allocations: 115.3 MB / 406.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2843, allocations: 76.17 MB / 0.556 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1265/0.4109, allocations: 145.9 MB / 0.6985 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0043/0.4152, allocations: 4.607 MB / 0.703 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.4155, allocations: 11.94 kB / 0.7031 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.4159, allocations: 131.2 kB / 0.7032 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.4163, allocations: 75.58 kB / 0.7033 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.4164, allocations: 55.95 kB / 0.7033 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.4168, allocations: 306.6 kB / 0.7036 GB, free: 13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.417, allocations: 151.6 kB / 0.7037 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.4172, allocations: 115.5 kB / 0.7039 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.4174, allocations: 151.5 kB / 0.704 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.4174, allocations: 16 kB / 0.704 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.382e-05/0.4175, allocations: 16 kB / 0.704 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.4176, allocations: 71.8 kB / 0.7041 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.941e-05/0.4177, allocations: 99.42 kB / 0.7042 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.4179, allocations: 225.5 kB / 0.7044 GB, free: 12.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.4179, allocations: 4 kB / 0.7044 GB, free: 12.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4179, allocations: 0 / 0.7044 GB, free: 12.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.4179, allocations: 0 / 0.7044 GB, free: 12.17 MB / 0.545 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.0004133/0.4183, allocations: 491.1 kB / 0.7049 GB, free: 11.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.4184, allocations: 8.031 kB / 0.7049 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.261e-05/0.4184, allocations: 66.72 kB / 0.705 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.4185, allocations: 24.66 kB / 0.705 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.4187, allocations: 262.2 kB / 0.7052 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4187, allocations: 16.81 kB / 0.7052 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.4188, allocations: 20.38 kB / 0.7053 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.4191, allocations: 312.8 kB / 0.7056 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.4191, allocations: 0 / 0.7056 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.4192, allocations: 12 kB / 0.7056 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4192, allocations: 8 kB / 0.7056 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.4193, allocations: 123.7 kB / 0.7057 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.4204, allocations: 1.973 MB / 0.7076 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/0.4205, allocations: 169.1 kB / 0.7078 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.4205, allocations: 80.14 kB / 0.7079 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.4206, allocations: 75.28 kB / 0.7079 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.4206, allocations: 109.8 kB / 0.708 GB, free: 8.176 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4206, allocations: 3.938 kB / 0.708 GB, free: 8.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.019e-05/0.4207, allocations: 61.3 kB / 0.7081 GB, free: 8.105 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.4208, allocations: 126.7 kB / 0.7082 GB, free: 7.969 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.421, allocations: 332.5 kB / 0.7085 GB, free: 7.641 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.4211, allocations: 25.7 kB / 0.7086 GB, free: 7.609 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.4212, allocations: 155.7 kB / 0.7087 GB, free: 7.453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.4212, allocations: 0 / 0.7087 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.4212, allocations: 37.61 kB / 0.7087 GB, free: 7.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.4213, allocations: 330.8 kB / 0.7091 GB, free: 7.078 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.4213, allocations: 4 kB / 0.7091 GB, free: 7.074 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.4214, allocations: 58.88 kB / 0.7091 GB, free: 6.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.602e-05/0.4215, allocations: 70.73 kB / 0.7092 GB, free: 6.898 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4215, allocations: 4 kB / 0.7092 GB, free: 6.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001515/0.4216, allocations: 105.2 kB / 0.7093 GB, free: 6.785 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.4216, allocations: 4 kB / 0.7093 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4217, allocations: 7.938 kB / 0.7093 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.4217, allocations: 3.984 kB / 0.7093 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.4217, allocations: 12 kB / 0.7093 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4217, allocations: 4 kB / 0.7093 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.4218, allocations: 27.94 kB / 0.7093 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.4218, allocations: 4 kB / 0.7094 GB, free: 6.723 MB / 0.545 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.0001059/0.4219, allocations: 213.9 kB / 0.7096 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.422, allocations: 128.6 kB / 0.7097 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.4221, allocations: 133.9 kB / 0.7098 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.635e-05/0.4221, allocations: 180.2 kB / 0.71 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.8e-05/0.4222, allocations: 184.3 kB / 0.7102 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.316e-05/0.4222, allocations: 184.2 kB / 0.7103 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.4225, allocations: 473.1 kB / 0.7108 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.98e-05/0.4225, allocations: 108.9 kB / 0.7109 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.4225, allocations: 101 kB / 0.711 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.536e-05/0.4226, allocations: 180.2 kB / 0.7112 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.4226, allocations: 192.2 kB / 0.7113 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.295e-05/0.4227, allocations: 180.3 kB / 0.7115 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.705e-05/0.4227, allocations: 184.2 kB / 0.7117 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.4229, allocations: 323.5 kB / 0.712 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/0.423, allocations: 205.8 kB / 0.7122 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.439e-05/0.423, allocations: 188.5 kB / 0.7124 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.4231, allocations: 104.9 kB / 0.7125 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.4232, allocations: 184.2 kB / 0.7126 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.4232, allocations: 109 kB / 0.7127 GB, free: 3.008 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000198/0.4234, allocations: 239 kB / 0.713 GB, free: 2.773 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4234, allocations: 4 kB / 0.713 GB, free: 2.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002518/0.4237, allocations: 35.88 kB / 0.713 GB, free: 2.734 MB / 0.545 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.0002922/0.424, allocations: 0.8309 MB / 0.7138 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.073e-05/0.4241, allocations: 24.12 kB / 0.7138 GB, free: 1.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4241, allocations: 3.938 kB / 0.7139 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.4241, allocations: 0 / 0.7139 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.4247, allocations: 0.5191 MB / 0.7144 GB, free: 1.332 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.4268, allocations: 2.559 MB / 0.7169 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.4271, allocations: 0.744 MB / 0.7176 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.096e-05/0.4272, allocations: 30.28 kB / 0.7176 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.4273, allocations: 63.36 kB / 0.7177 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4273, allocations: 3.938 kB / 0.7177 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3581/0.7854, allocations: 4.639 MB / 0.7222 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.7856, allocations: 211.7 kB / 0.7224 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.603, allocations: 0 / 0.7224 GB, free: 9.09 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)