Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.001137/0.001137, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001641/0.001641, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9766/0.9766, allocations: 135.3 MB / 426.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004408, allocations: 16 kB / 0.5071 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.209, allocations: 82.31 MB / 0.5875 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.5465/0.7556, allocations: 134.2 MB / 0.7185 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004801/0.7604, allocations: 4.305 MB / 0.7227 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.7607, allocations: 10.19 kB / 0.7227 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.7612, allocations: 110.7 kB / 0.7228 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.7614, allocations: 77.55 kB / 0.7229 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.7616, allocations: 47.78 kB / 0.7229 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.762, allocations: 309.1 kB / 0.7232 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.7622, allocations: 69.22 kB / 0.7233 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.7623, allocations: 84.08 kB / 0.7234 GB, free: 8.711 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.7625, allocations: 122.5 kB / 0.7235 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.7625, allocations: 4.125 kB / 0.7235 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.7626, allocations: 2.188 kB / 0.7235 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.7626, allocations: 15.02 kB / 0.7235 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.7627, allocations: 60.23 kB / 0.7236 GB, free: 8.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.7628, allocations: 109.2 kB / 0.7237 GB, free: 8.574 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.7628, allocations: 1.062 kB / 0.7237 GB, free: 8.574 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7628, allocations: 2.625 kB / 0.7237 GB, free: 8.574 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.7628, allocations: 0 / 0.7237 GB, free: 8.574 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000384/0.7632, allocations: 423.1 kB / 0.7241 GB, free: 8.164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.7633, allocations: 9.438 kB / 0.7241 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.7633, allocations: 47.23 kB / 0.7241 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.7634, allocations: 22.44 kB / 0.7242 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.7636, allocations: 232.8 kB / 0.7244 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.7636, allocations: 10.25 kB / 0.7244 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.7637, allocations: 14.78 kB / 0.7244 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.764, allocations: 211 kB / 0.7246 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.764, allocations: 1 kB / 0.7246 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.764, allocations: 10.94 kB / 0.7246 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.7641, allocations: 5.406 kB / 0.7246 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.7642, allocations: 72.53 kB / 0.7247 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.7654, allocations: 1.589 MB / 0.7262 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.7655, allocations: 171.1 kB / 0.7264 GB, free: 5.938 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.7655, allocations: 80.14 kB / 0.7265 GB, free: 5.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.7655, allocations: 79.31 kB / 0.7266 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.7656, allocations: 115.6 kB / 0.7267 GB, free: 5.656 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.7656, allocations: 1.438 kB / 0.7267 GB, free: 5.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.807e-05/0.7657, allocations: 45.67 kB / 0.7267 GB, free: 5.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.7658, allocations: 128.6 kB / 0.7268 GB, free: 5.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.766, allocations: 244.2 kB / 0.7271 GB, free: 5.332 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.7661, allocations: 26.98 kB / 0.7271 GB, free: 5.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.7662, allocations: 144.5 kB / 0.7272 GB, free: 5.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.7662, allocations: 1.156 kB / 0.7272 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.7662, allocations: 9.031 kB / 0.7272 GB, free: 5.164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7663, allocations: 325.2 kB / 0.7275 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.7664, allocations: 8.047 kB / 0.7276 GB, free: 4.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.968e-05/0.7664, allocations: 47.3 kB / 0.7276 GB, free: 4.785 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.7664, allocations: 18.59 kB / 0.7276 GB, free: 4.773 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7664, allocations: 1.156 kB / 0.7276 GB, free: 4.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001642/0.7666, allocations: 86.72 kB / 0.7277 GB, free: 4.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7666, allocations: 10.09 kB / 0.7277 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7667, allocations: 5.969 kB / 0.7277 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.7667, allocations: 3.062 kB / 0.7277 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.7668, allocations: 11.52 kB / 0.7277 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.7668, allocations: 10.14 kB / 0.7277 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.7668, allocations: 22.03 kB / 0.7278 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.7669, allocations: 7.859 kB / 0.7278 GB, free: 4.684 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001271/0.767, allocations: 195.8 kB / 0.728 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.7671, allocations: 118.2 kB / 0.7281 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.7671, allocations: 132.9 kB / 0.7282 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.44e-05/0.7672, allocations: 177 kB / 0.7284 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.614e-05/0.7673, allocations: 182 kB / 0.7285 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.374e-05/0.7673, allocations: 182.5 kB / 0.7287 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.7676, allocations: 452.8 kB / 0.7291 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-05/0.7677, allocations: 110.7 kB / 0.7292 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.7677, allocations: 102.8 kB / 0.7293 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.15e-05/0.7678, allocations: 182.5 kB / 0.7295 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.947e-05/0.7679, allocations: 181 kB / 0.7297 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.013e-05/0.7679, allocations: 178.6 kB / 0.7299 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-05/0.768, allocations: 182.3 kB / 0.73 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.7682, allocations: 336.4 kB / 0.7304 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.7683, allocations: 193.1 kB / 0.7305 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.541e-05/0.7684, allocations: 177.9 kB / 0.7307 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.7685, allocations: 109.4 kB / 0.7308 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.7686, allocations: 185.4 kB / 0.731 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.7686, allocations: 106.8 kB / 0.7311 GB, free: 1.164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001668/0.7688, allocations: 176.5 kB / 0.7313 GB, free: 1.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7688, allocations: 0.9688 kB / 0.7313 GB, free: 1.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00026/0.769, allocations: 18.12 kB / 0.7313 GB, free: 1.055 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.0003994/0.7695, allocations: 0.8231 MB / 0.7321 GB, free: 240 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.242e-05/0.7695, allocations: 21.34 kB / 0.7321 GB, free: 232 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7695, allocations: 0 / 0.7321 GB, free: 232 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.7696, allocations: 6.062 kB / 0.7321 GB, free: 228 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/0.7703, allocations: 0.5686 MB / 0.7327 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.7716, allocations: 0.9593 MB / 0.7336 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.7719, allocations: 0.7125 MB / 0.7343 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.742e-05/0.772, allocations: 19.05 kB / 0.7343 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.7721, allocations: 46.95 kB / 0.7344 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.7721, allocations: 1.156 kB / 0.7344 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.7862, allocations: 3.288 MB / 0.7376 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.7864, allocations: 187.6 kB / 0.7378 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.602, allocations: 0 / 0.7378 GB, free: 13.8 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) Environment - environmentSimulation: