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.0006917/0.0006915, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007521/0.0007521, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.195/1.195, allocations: 223.3 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6037/0.6037, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002787, allocations: 8 kB / 493.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1263, allocations: 77.11 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3841/0.5104, allocations: 158.2 MB / 0.7114 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007483/0.5179, allocations: 8.783 MB / 0.7199 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.5181, allocations: 7.938 kB / 0.7199 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.5185, allocations: 135 kB / 0.7201 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.5187, allocations: 79.48 kB / 0.7202 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.5188, allocations: 51.95 kB / 0.7202 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.5191, allocations: 342.7 kB / 0.7205 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.5194, allocations: 141.7 kB / 0.7207 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.5196, allocations: 123.5 kB / 0.7208 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.5197, allocations: 83.52 kB / 0.7209 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.5197, allocations: 4 kB / 0.7209 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.5198, allocations: 7.938 kB / 0.7209 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.5198, allocations: 55.81 kB / 0.7209 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.5199, allocations: 73.52 kB / 0.721 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.52, allocations: 215.4 kB / 0.7212 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5201, allocations: 0 / 0.7212 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5201, allocations: 0 / 0.7212 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.5201, allocations: 0 / 0.7212 GB, free: 2.652 MB / 0.5294 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.0003739/0.5204, allocations: 471.9 kB / 0.7217 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.5205, allocations: 8.031 kB / 0.7217 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.74e-05/0.5205, allocations: 66.53 kB / 0.7217 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.5206, allocations: 27.62 kB / 0.7217 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.5208, allocations: 263.2 kB / 0.722 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.5209, allocations: 16.56 kB / 0.722 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.5209, allocations: 28 kB / 0.722 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.5213, allocations: 319.9 kB / 0.7223 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5213, allocations: 3.938 kB / 0.7224 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.5213, allocations: 12 kB / 0.7224 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.5213, allocations: 8 kB / 0.7224 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.5215, allocations: 139.7 kB / 0.7225 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.5226, allocations: 1.82 MB / 0.7243 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.02e-05/0.5227, allocations: 173.1 kB / 0.7244 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.5227, allocations: 80.14 kB / 0.7245 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.5228, allocations: 79.27 kB / 0.7246 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.5228, allocations: 117.8 kB / 0.7247 GB, free: 14.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.5228, allocations: 3.938 kB / 0.7247 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.063e-05/0.5229, allocations: 57.41 kB / 0.7248 GB, free: 14.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.5229, allocations: 126.7 kB / 0.7249 GB, free: 14.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.5233, allocations: 373.6 kB / 0.7252 GB, free: 14.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.5233, allocations: 25.7 kB / 0.7253 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.5234, allocations: 163.9 kB / 0.7254 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.5234, allocations: 0 / 0.7254 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.5234, allocations: 0 / 0.7254 GB, free: 14.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5235, allocations: 342.8 kB / 0.7258 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.5235, allocations: 8 kB / 0.7258 GB, free: 13.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.5236, allocations: 32.3 kB / 0.7258 GB, free: 13.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/0.5236, allocations: 11.94 kB / 0.7258 GB, free: 13.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5236, allocations: 0 / 0.7258 GB, free: 13.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001272/0.5237, allocations: 89.25 kB / 0.7259 GB, free: 13.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.5238, allocations: 4 kB / 0.7259 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5238, allocations: 11.89 kB / 0.7259 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.5238, allocations: 7.922 kB / 0.7259 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.756e-05/0.5238, allocations: 8 kB / 0.7259 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.5239, allocations: 0 / 0.7259 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.003e-05/0.5239, allocations: 27.69 kB / 0.7259 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.5239, allocations: 4 kB / 0.7259 GB, free: 13.46 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.524, allocations: 213.3 kB / 0.7262 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.862e-05/0.5241, allocations: 136.5 kB / 0.7263 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.5242, allocations: 127 kB / 0.7264 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.326e-05/0.5243, allocations: 187.5 kB / 0.7266 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.325e-05/0.5243, allocations: 184.2 kB / 0.7268 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.36e-05/0.5244, allocations: 176.3 kB / 0.7269 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.5246, allocations: 493.2 kB / 0.7274 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/0.5247, allocations: 108.9 kB / 0.7275 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.5247, allocations: 101 kB / 0.7276 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.807e-05/0.5248, allocations: 184.2 kB / 0.7278 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.5248, allocations: 180.3 kB / 0.7279 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.343e-05/0.5249, allocations: 188.2 kB / 0.7281 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.051e-05/0.5249, allocations: 180.2 kB / 0.7283 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.5251, allocations: 335.5 kB / 0.7286 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/0.5252, allocations: 205.8 kB / 0.7288 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.783e-05/0.5252, allocations: 184.2 kB / 0.729 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.5253, allocations: 101 kB / 0.7291 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.5254, allocations: 188.2 kB / 0.7293 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.5254, allocations: 101.3 kB / 0.7294 GB, free: 9.746 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000225/0.5257, allocations: 267.2 kB / 0.7296 GB, free: 9.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5257, allocations: 0 / 0.7296 GB, free: 9.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002311/0.5259, allocations: 31.91 kB / 0.7296 GB, free: 9.453 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003248/0.5262, allocations: 0.8364 MB / 0.7305 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.423e-05/0.5263, allocations: 20 kB / 0.7305 GB, free: 8.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5263, allocations: 0 / 0.7305 GB, free: 8.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.5263, allocations: 8.25 kB / 0.7305 GB, free: 8.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006897/0.527, allocations: 0.6076 MB / 0.7311 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.5286, allocations: 1.409 MB / 0.7325 GB, free: 6.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.5289, allocations: 0.7638 MB / 0.7332 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.696e-05/0.529, allocations: 26.97 kB / 0.7332 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.529, allocations: 75.42 kB / 0.7333 GB, free: 5.594 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.5291, allocations: 7.875 kB / 0.7333 GB, free: 5.586 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.5428, allocations: 5.476 MB / 0.7387 GB, free: 332 kB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.5429, allocations: 203 kB / 0.7389 GB, free: 80 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.092, allocations: 4 kB / 0.7389 GB, free: 76 kB / 0.545 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/linux/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) Environment - environmentSimulation: