Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_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.0009787/0.0009787, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.0009253/0.0009253, allocations: 191 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.22/1.22, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6644/0.6644, allocations: 115.3 MB / 406.1 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2881, allocations: 76.18 MB / 0.556 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1524/0.4405, allocations: 171.7 MB / 0.7237 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008281/0.4488, allocations: 9.438 MB / 0.7329 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.4491, allocations: 7.938 kB / 0.7329 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.4497, allocations: 163.1 kB / 0.7331 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.45, allocations: 87.38 kB / 0.7332 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.4502, allocations: 55.95 kB / 0.7332 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.4506, allocations: 322.7 kB / 0.7335 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.4509, allocations: 216.8 kB / 0.7337 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.4512, allocations: 163.4 kB / 0.7339 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.4514, allocations: 123.5 kB / 0.734 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.4514, allocations: 23.94 kB / 0.734 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-05/0.4515, allocations: 24 kB / 0.7341 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.4515, allocations: 71.77 kB / 0.7341 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.4517, allocations: 127.3 kB / 0.7343 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.4519, allocations: 283 kB / 0.7345 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4519, allocations: 0 / 0.7345 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4519, allocations: 4 kB / 0.7345 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.4519, allocations: 0 / 0.7345 GB, free: 13.23 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.0004539/0.4524, allocations: 0.5029 MB / 0.735 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4524, allocations: 12.03 kB / 0.735 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/0.4525, allocations: 62.53 kB / 0.7351 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.4526, allocations: 35.56 kB / 0.7351 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.4529, allocations: 269 kB / 0.7354 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.4529, allocations: 24.5 kB / 0.7354 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.4529, allocations: 24 kB / 0.7354 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.4533, allocations: 322.7 kB / 0.7357 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4533, allocations: 4 kB / 0.7357 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.4534, allocations: 12 kB / 0.7358 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.4534, allocations: 15.88 kB / 0.7358 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.4536, allocations: 139.7 kB / 0.7359 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.4547, allocations: 1.812 MB / 0.7377 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.155e-05/0.4548, allocations: 169.1 kB / 0.7378 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.4548, allocations: 88.08 kB / 0.7379 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.4549, allocations: 75.28 kB / 0.738 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.4549, allocations: 109.8 kB / 0.7381 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.4549, allocations: 0 / 0.7381 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.784e-05/0.455, allocations: 53.36 kB / 0.7381 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.455, allocations: 130.7 kB / 0.7383 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.4554, allocations: 369.7 kB / 0.7386 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.4554, allocations: 29.7 kB / 0.7386 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4555, allocations: 171.7 kB / 0.7388 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.912e-06/0.4555, allocations: 4 kB / 0.7388 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.4556, allocations: 17.73 kB / 0.7388 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4557, allocations: 342.9 kB / 0.7392 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.4557, allocations: 7.938 kB / 0.7392 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.4557, allocations: 36.3 kB / 0.7392 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.4558, allocations: 44.22 kB / 0.7392 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.4558, allocations: 3.938 kB / 0.7392 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001411/0.4559, allocations: 97.19 kB / 0.7393 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.456, allocations: 4 kB / 0.7393 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.456, allocations: 4 kB / 0.7393 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.456, allocations: 0 / 0.7393 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.456, allocations: 12.06 kB / 0.7394 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4561, allocations: 0 / 0.7394 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.4561, allocations: 27.69 kB / 0.7394 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.4561, allocations: 4 kB / 0.7394 GB, free: 7.902 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.0001137/0.4563, allocations: 213.3 kB / 0.7396 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.4563, allocations: 140.5 kB / 0.7397 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.257e-05/0.4564, allocations: 134.9 kB / 0.7399 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.502e-05/0.4565, allocations: 176.3 kB / 0.74 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-05/0.4565, allocations: 180.2 kB / 0.7402 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.655e-05/0.4566, allocations: 184.3 kB / 0.7404 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.4568, allocations: 493 kB / 0.7408 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.64e-05/0.4569, allocations: 104.9 kB / 0.7409 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.4569, allocations: 109 kB / 0.741 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.427e-05/0.457, allocations: 180.2 kB / 0.7412 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.457, allocations: 176.3 kB / 0.7414 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.396e-05/0.4571, allocations: 180.3 kB / 0.7416 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.472e-05/0.4571, allocations: 184.2 kB / 0.7417 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.4572, allocations: 339.4 kB / 0.7421 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/0.4573, allocations: 209.7 kB / 0.7423 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.4574, allocations: 180.3 kB / 0.7424 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.4575, allocations: 104.9 kB / 0.7425 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.4576, allocations: 184.3 kB / 0.7427 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.4576, allocations: 108.9 kB / 0.7428 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002341/0.4578, allocations: 267.2 kB / 0.7431 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4579, allocations: 0 / 0.7431 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002505/0.4581, allocations: 31.94 kB / 0.7431 GB, free: 3.879 MB / 0.5762 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.0003069/0.4584, allocations: 0.8283 MB / 0.7439 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.4585, allocations: 19.92 kB / 0.7439 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4585, allocations: 7.875 kB / 0.7439 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.574e-06/0.4585, allocations: 4.312 kB / 0.7439 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/0.4593, allocations: 0.5477 MB / 0.7445 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1889/0.6482, allocations: 2.745 MB / 0.7471 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.6484, allocations: 0.7522 MB / 0.7479 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.6486, allocations: 34.05 kB / 0.7479 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/0.6487, allocations: 75.44 kB / 0.748 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/0.6487, allocations: 0.875 kB / 0.748 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2843/0.933, allocations: 5.738 MB / 0.7536 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.9332, allocations: 211 kB / 0.7538 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.532, allocations: 0 / 0.7538 GB, free: 175.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)