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.0007319/0.0007319, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007696/0.0007696, allocations: 179.9 kB / 16.92 MB, free: 6.758 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.253/1.253, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6458/0.6458, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 8 kB / 496 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.123, allocations: 77.53 MB / 0.56 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3826/0.5056, allocations: 169.6 MB / 0.7257 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007978/0.5136, allocations: 9.392 MB / 0.7348 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.5139, allocations: 11.94 kB / 0.7349 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.5142, allocations: 147.1 kB / 0.735 GB, free: 3.469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.5144, allocations: 83.44 kB / 0.7351 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.5146, allocations: 59.94 kB / 0.7351 GB, free: 3.328 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.5149, allocations: 378.6 kB / 0.7355 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.5152, allocations: 197.8 kB / 0.7357 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.5155, allocations: 123.4 kB / 0.7358 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.5156, allocations: 87.5 kB / 0.7359 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.5156, allocations: 4 kB / 0.7359 GB, free: 2.559 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.158e-05/0.5156, allocations: 8 kB / 0.7359 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.5157, allocations: 59.75 kB / 0.7359 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.193e-05/0.5158, allocations: 125.1 kB / 0.7361 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.516, allocations: 254.9 kB / 0.7363 GB, free: 2.113 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.516, allocations: 3.938 kB / 0.7363 GB, free: 2.109 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.516, allocations: 4 kB / 0.7363 GB, free: 2.105 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.516, allocations: 0 / 0.7363 GB, free: 2.105 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0003641/0.5164, allocations: 475.9 kB / 0.7368 GB, free: 1.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.5164, allocations: 8.031 kB / 0.7368 GB, free: 1.582 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.5165, allocations: 62.55 kB / 0.7368 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.5165, allocations: 39.55 kB / 0.7369 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.5168, allocations: 258.1 kB / 0.7371 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5168, allocations: 24.5 kB / 0.7371 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.5168, allocations: 27.94 kB / 0.7372 GB, free: 1.133 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.5172, allocations: 324 kB / 0.7375 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5172, allocations: 4 kB / 0.7375 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.5173, allocations: 12 kB / 0.7375 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5173, allocations: 8 kB / 0.7375 GB, free: 0.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.5175, allocations: 147.6 kB / 0.7376 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.5185, allocations: 1.824 MB / 0.7394 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.5186, allocations: 169.1 kB / 0.7396 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.5186, allocations: 84.14 kB / 0.7397 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.5186, allocations: 79.22 kB / 0.7397 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.5187, allocations: 113.8 kB / 0.7399 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.5187, allocations: 0 / 0.7399 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.347e-05/0.5188, allocations: 53.36 kB / 0.7399 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.5188, allocations: 126.7 kB / 0.74 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.5192, allocations: 377.7 kB / 0.7404 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.5192, allocations: 25.7 kB / 0.7404 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.5193, allocations: 167.8 kB / 0.7406 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.5193, allocations: 4 kB / 0.7406 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.5193, allocations: 9.719 kB / 0.7406 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.5194, allocations: 338.8 kB / 0.7409 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.5194, allocations: 0 / 0.7409 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.5195, allocations: 44.28 kB / 0.7409 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.5195, allocations: 40.23 kB / 0.741 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5195, allocations: 0 / 0.741 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00013/0.5197, allocations: 101.2 kB / 0.7411 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.5197, allocations: 7.938 kB / 0.7411 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.5197, allocations: 0 / 0.7411 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.5197, allocations: 4 kB / 0.7411 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.5198, allocations: 8 kB / 0.7411 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5198, allocations: 8.703 kB / 0.7411 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.5198, allocations: 23.69 kB / 0.7411 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.5199, allocations: 4 kB / 0.7411 GB, free: 12.82 MB / 0.5606 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.0001047/0.52, allocations: 214.8 kB / 0.7413 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.52, allocations: 132.5 kB / 0.7415 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.5201, allocations: 134.9 kB / 0.7416 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-05/0.5201, allocations: 176.3 kB / 0.7418 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.595e-05/0.5202, allocations: 180.2 kB / 0.7419 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.65e-05/0.5202, allocations: 180.4 kB / 0.7421 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.5205, allocations: 497.1 kB / 0.7426 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/0.5206, allocations: 108.9 kB / 0.7427 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.5206, allocations: 105 kB / 0.7428 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.645e-05/0.5206, allocations: 184.2 kB / 0.743 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.5207, allocations: 176.3 kB / 0.7431 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.591e-05/0.5207, allocations: 188.3 kB / 0.7433 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.382e-05/0.5208, allocations: 180.2 kB / 0.7435 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.5209, allocations: 327.5 kB / 0.7438 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.775e-05/0.521, allocations: 209.7 kB / 0.744 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.5211, allocations: 184.2 kB / 0.7442 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.5212, allocations: 112.9 kB / 0.7443 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.5212, allocations: 176.3 kB / 0.7444 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.5213, allocations: 108.9 kB / 0.7445 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002304/0.5215, allocations: 267.2 kB / 0.7448 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5215, allocations: 0 / 0.7448 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002356/0.5217, allocations: 35.84 kB / 0.7448 GB, free: 8.805 MB / 0.5606 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.0002985/0.522, allocations: 0.8361 MB / 0.7457 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.016e-05/0.5221, allocations: 15.94 kB / 0.7457 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.5221, allocations: 0 / 0.7457 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.5221, allocations: 0 / 0.7457 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.5229, allocations: 0.6203 MB / 0.7463 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.5252, allocations: 2.757 MB / 0.749 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.5254, allocations: 0.7521 MB / 0.7497 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.65e-05/0.5255, allocations: 34.95 kB / 0.7497 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.5256, allocations: 75.42 kB / 0.7498 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.5256, allocations: 4 kB / 0.7498 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2079/0.7336, allocations: 5.488 MB / 0.7552 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/0.7339, allocations: 209.1 kB / 0.7554 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.291, allocations: 4 kB / 0.7554 GB, free: 14.01 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)