Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",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.0008005/0.0008005, 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.0008003/0.0008003, allocations: 174 kB / 16.58 MB, free: 6.395 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.203/1.203, allocations: 223.2 MB / 240.6 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6024/0.6024, allocations: 113.7 MB / 405.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.000276, allocations: 12.72 kB / 493.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1262, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.3907/0.5169, allocations: 154.8 MB / 0.7081 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005252/0.5222, allocations: 5.575 MB / 0.7135 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.5224, allocations: 7.938 kB / 0.7135 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.5229, allocations: 127.1 kB / 0.7136 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.5231, allocations: 75.5 kB / 0.7137 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006854/0.5238, allocations: 350.6 kB / 0.714 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.5242, allocations: 410.8 kB / 0.7144 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.5244, allocations: 89.61 kB / 0.7145 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.5246, allocations: 155.3 kB / 0.7147 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.5248, allocations: 127.5 kB / 0.7148 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.5248, allocations: 4 kB / 0.7148 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.5253, allocations: 227.4 kB / 0.715 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.18e-05/0.5254, allocations: 55.81 kB / 0.7151 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.5254, allocations: 61.58 kB / 0.7151 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.5257, allocations: 271.4 kB / 0.7154 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5258, allocations: 0 / 0.7154 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5258, allocations: 0 / 0.7154 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.5258, allocations: 0 / 0.7154 GB, free: 7.934 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004668/0.5262, allocations: 487.8 kB / 0.7158 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5263, allocations: 8.031 kB / 0.7159 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.16e-05/0.5264, allocations: 62.55 kB / 0.7159 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.5266, allocations: 47.66 kB / 0.716 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.5268, allocations: 260.4 kB / 0.7162 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.527, allocations: 135.3 kB / 0.7163 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.527, allocations: 20 kB / 0.7164 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.5274, allocations: 290.8 kB / 0.7166 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.5274, allocations: 0 / 0.7166 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.5275, allocations: 12 kB / 0.7166 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.5275, allocations: 7.953 kB / 0.7167 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.5278, allocations: 168.6 kB / 0.7168 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.5289, allocations: 1.571 MB / 0.7183 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.529, allocations: 169.1 kB / 0.7185 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.5291, allocations: 84.14 kB / 0.7186 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.5291, allocations: 83.27 kB / 0.7187 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.5291, allocations: 115.1 kB / 0.7188 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5291, allocations: 0 / 0.7188 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.172e-05/0.5292, allocations: 45.42 kB / 0.7188 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.5293, allocations: 126.7 kB / 0.7189 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.5296, allocations: 314.6 kB / 0.7192 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.5296, allocations: 25.7 kB / 0.7193 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.5297, allocations: 191.2 kB / 0.7194 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.5297, allocations: 4 kB / 0.7195 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.5298, allocations: 0 / 0.7195 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5299, allocations: 330.8 kB / 0.7198 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.5299, allocations: 39.92 kB / 0.7198 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.5301, allocations: 169.1 kB / 0.72 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.5302, allocations: 59.92 kB / 0.72 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5302, allocations: 0 / 0.72 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003509/0.5306, allocations: 217.2 kB / 0.7202 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.5306, allocations: 8 kB / 0.7202 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5306, allocations: 4 kB / 0.7202 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5306, allocations: 4 kB / 0.7202 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.5308, allocations: 47.86 kB / 0.7203 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.5308, allocations: 7.984 kB / 0.7203 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.5309, allocations: 35.55 kB / 0.7203 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.531, allocations: 12.41 kB / 0.7203 GB, free: 2.469 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001296/0.5311, allocations: 221.7 kB / 0.7206 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.162e-05/0.5312, allocations: 124.7 kB / 0.7207 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.5312, allocations: 121.8 kB / 0.7208 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.311e-05/0.5313, allocations: 176.3 kB / 0.721 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.746e-05/0.5313, allocations: 180.2 kB / 0.7211 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.226e-05/0.5314, allocations: 184.3 kB / 0.7213 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.5317, allocations: 489.9 kB / 0.7218 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.792e-05/0.5317, allocations: 101 kB / 0.7219 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.5318, allocations: 105 kB / 0.722 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-05/0.5318, allocations: 184.1 kB / 0.7221 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.5319, allocations: 184.3 kB / 0.7223 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.625e-05/0.5319, allocations: 181.6 kB / 0.7225 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.333e-05/0.532, allocations: 180.3 kB / 0.7227 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.5321, allocations: 331.4 kB / 0.723 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.5322, allocations: 201.9 kB / 0.7232 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/0.5323, allocations: 188.2 kB / 0.7234 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.5325, allocations: 105 kB / 0.7235 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.5325, allocations: 176.3 kB / 0.7236 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.5326, allocations: 108.9 kB / 0.7237 GB, free: 14.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002103/0.5328, allocations: 213.9 kB / 0.7239 GB, free: 14.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5328, allocations: 0 / 0.7239 GB, free: 14.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003142/0.5331, allocations: 55.91 kB / 0.724 GB, free: 14.52 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.0004213/0.5335, allocations: 0.8525 MB / 0.7248 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.5337, allocations: 83.78 kB / 0.7249 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5337, allocations: 1.25 kB / 0.7249 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.5337, allocations: 3.938 kB / 0.7249 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.5342, allocations: 0.5425 MB / 0.7254 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.5357, allocations: 1.255 MB / 0.7267 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.536, allocations: 0.7359 MB / 0.7274 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.5362, allocations: 44.66 kB / 0.7274 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.492e-05/0.5363, allocations: 51.42 kB / 0.7275 GB, free: 10.79 MB / 0.545 GB Notification: Performance of SimCode: time 2.415e-06/0.5363, allocations: 0 / 0.7275 GB, free: 10.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.5497, allocations: 3.82 MB / 0.7312 GB, free: 7.129 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/0.5499, allocations: 180.2 kB / 0.7314 GB, free: 6.895 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.116, allocations: 0 / 0.7314 GB, free: 6.895 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) Environment - environmentSimulation: