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.001001/0.001002, allocations: 98.58 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.001053/0.001053, allocations: 185 kB / 16.92 MB, free: 6.773 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.157/1.157, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5974/0.5974, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002584/0.0002584, allocations: 12 kB / 496 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1095, allocations: 77.52 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.3418/0.4513, allocations: 165.9 MB / 0.722 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005123/0.4565, allocations: 5.914 MB / 0.7278 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.4567, allocations: 11.94 kB / 0.7278 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.4571, allocations: 151 kB / 0.7279 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.4574, allocations: 87.56 kB / 0.728 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009251/0.4583, allocations: 486.4 kB / 0.7285 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004243/0.4587, allocations: 462.7 kB / 0.7289 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.459, allocations: 139.6 kB / 0.7291 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.4592, allocations: 159.3 kB / 0.7292 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.4594, allocations: 135.3 kB / 0.7293 GB, free: 8.648 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.4594, allocations: 8 kB / 0.7294 GB, free: 8.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006908/0.4601, allocations: 0.5143 MB / 0.7299 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.4602, allocations: 59.83 kB / 0.7299 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.503e-05/0.4603, allocations: 113.2 kB / 0.73 GB, free: 7.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.4608, allocations: 466.5 kB / 0.7305 GB, free: 7.492 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4608, allocations: 0 / 0.7305 GB, free: 7.492 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4608, allocations: 0 / 0.7305 GB, free: 7.492 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.4608, allocations: 0 / 0.7305 GB, free: 7.492 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004613/0.4613, allocations: 475.8 kB / 0.7309 GB, free: 6.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.4613, allocations: 8.031 kB / 0.7309 GB, free: 6.973 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/0.4614, allocations: 62.53 kB / 0.731 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.4616, allocations: 47.7 kB / 0.731 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.4619, allocations: 256.5 kB / 0.7313 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.462, allocations: 131.4 kB / 0.7314 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.462, allocations: 20 kB / 0.7314 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.4624, allocations: 298.7 kB / 0.7317 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4624, allocations: 4 kB / 0.7317 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.4624, allocations: 8 kB / 0.7317 GB, free: 6.051 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4625, allocations: 8 kB / 0.7317 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.4627, allocations: 164.6 kB / 0.7319 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.4638, allocations: 1.579 MB / 0.7334 GB, free: 4.215 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.818e-05/0.4639, allocations: 173 kB / 0.7336 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.4639, allocations: 88.14 kB / 0.7337 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4639, allocations: 75.28 kB / 0.7337 GB, free: 3.871 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.464, allocations: 105.8 kB / 0.7338 GB, free: 3.758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.464, allocations: 0 / 0.7338 GB, free: 3.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.477e-05/0.4641, allocations: 49.45 kB / 0.7339 GB, free: 3.703 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.4641, allocations: 134.6 kB / 0.734 GB, free: 3.559 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.4644, allocations: 306.6 kB / 0.7343 GB, free: 3.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.4644, allocations: 25.7 kB / 0.7343 GB, free: 3.223 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.4645, allocations: 195.1 kB / 0.7345 GB, free: 3.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/0.4645, allocations: 8 kB / 0.7345 GB, free: 3.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.4646, allocations: 21.7 kB / 0.7346 GB, free: 2.992 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.4647, allocations: 326.8 kB / 0.7349 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.4647, allocations: 35.97 kB / 0.7349 GB, free: 2.629 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.4649, allocations: 162.5 kB / 0.7351 GB, free: 2.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.4651, allocations: 204.9 kB / 0.7352 GB, free: 2.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4651, allocations: 4 kB / 0.7353 GB, free: 2.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003558/0.4654, allocations: 217.2 kB / 0.7355 GB, free: 1.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4655, allocations: 7.938 kB / 0.7355 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4655, allocations: 8 kB / 0.7355 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4655, allocations: 4 kB / 0.7355 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.4656, allocations: 35.92 kB / 0.7355 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4656, allocations: 11.94 kB / 0.7355 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.4658, allocations: 32.06 kB / 0.7356 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.4658, allocations: 19.98 kB / 0.7356 GB, free: 1.809 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.466, allocations: 221 kB / 0.7358 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.466, allocations: 120.7 kB / 0.7359 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.4661, allocations: 125.8 kB / 0.736 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.366e-05/0.4661, allocations: 180.2 kB / 0.7362 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.706e-05/0.4662, allocations: 192.2 kB / 0.7364 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-05/0.4662, allocations: 180.3 kB / 0.7365 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.4665, allocations: 477.1 kB / 0.737 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/0.4665, allocations: 108.9 kB / 0.7371 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.4665, allocations: 101 kB / 0.7372 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-05/0.4666, allocations: 188.1 kB / 0.7374 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.4666, allocations: 180.3 kB / 0.7376 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-05/0.4667, allocations: 192.2 kB / 0.7377 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-05/0.4667, allocations: 180.2 kB / 0.7379 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.4668, allocations: 319.6 kB / 0.7382 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.4669, allocations: 209.8 kB / 0.7384 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.467, allocations: 188.1 kB / 0.7386 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4671, allocations: 104.9 kB / 0.7387 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.4672, allocations: 176.3 kB / 0.7389 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.4672, allocations: 108.9 kB / 0.739 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002007/0.4674, allocations: 217.9 kB / 0.7392 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4674, allocations: 4 kB / 0.7392 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004107/0.4678, allocations: 51.94 kB / 0.7392 GB, free: 13.84 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.0004175/0.4683, allocations: 0.8592 MB / 0.7401 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.4684, allocations: 80.66 kB / 0.7401 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4684, allocations: 384 / 0.7401 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.4684, allocations: 4 kB / 0.7401 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.4689, allocations: 0.5463 MB / 0.7407 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.471, allocations: 2.583 MB / 0.7432 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.4712, allocations: 0.7398 MB / 0.7439 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.4714, allocations: 37.94 kB / 0.744 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.4715, allocations: 51.42 kB / 0.744 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.4715, allocations: 0 / 0.744 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3164/0.7879, allocations: 3.723 MB / 0.7476 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/0.7882, allocations: 197.2 kB / 0.7478 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.465, allocations: 0 / 0.7478 GB, free: 4.871 MB / 0.5606 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/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)