Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_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.0008086/0.0008086, allocations: 84.38 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.0008754/0.0008752, 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.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7591/0.7591, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 9.688 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4637, allocations: 81.57 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1903/0.654, allocations: 154.8 MB / 0.7343 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006297/0.6603, allocations: 5.552 MB / 0.7398 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003713/0.6608, allocations: 7.938 kB / 0.7398 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006502/0.6614, allocations: 135.1 kB / 0.7399 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.6618, allocations: 75.5 kB / 0.74 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.6629, allocations: 350.6 kB / 0.7403 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000571/0.6635, allocations: 406.8 kB / 0.7407 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.6637, allocations: 93.59 kB / 0.7408 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.6641, allocations: 163.3 kB / 0.7409 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.6644, allocations: 119.5 kB / 0.7411 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.6644, allocations: 12 kB / 0.7411 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.665, allocations: 227.3 kB / 0.7413 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.507e-05/0.6651, allocations: 47.88 kB / 0.7413 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.003e-05/0.6652, allocations: 65.58 kB / 0.7414 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.6656, allocations: 271.4 kB / 0.7417 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6657, allocations: 0 / 0.7417 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.765e-06/0.6657, allocations: 0 / 0.7417 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.6657, allocations: 0 / 0.7417 GB, free: 13.81 MB / 0.5762 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.0006013/0.6663, allocations: 492.7 kB / 0.7421 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.6663, allocations: 15.97 kB / 0.7421 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.312e-05/0.6664, allocations: 62.53 kB / 0.7422 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.6667, allocations: 43.7 kB / 0.7422 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.667, allocations: 254.6 kB / 0.7425 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.6672, allocations: 131.4 kB / 0.7426 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.6672, allocations: 24 kB / 0.7426 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.6677, allocations: 298.1 kB / 0.7429 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.6677, allocations: 3.938 kB / 0.7429 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.6677, allocations: 12 kB / 0.7429 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.6677, allocations: 4 kB / 0.7429 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.668, allocations: 160.6 kB / 0.7431 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.6694, allocations: 1.575 MB / 0.7446 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.643e-05/0.6695, allocations: 169.1 kB / 0.7448 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.6695, allocations: 88.14 kB / 0.7449 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.6696, allocations: 79.22 kB / 0.7449 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.6696, allocations: 109.8 kB / 0.745 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.6696, allocations: 0 / 0.745 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.242e-05/0.6697, allocations: 45.47 kB / 0.7451 GB, free: 10 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.6698, allocations: 130.7 kB / 0.7452 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.6702, allocations: 310.6 kB / 0.7455 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.6702, allocations: 25.7 kB / 0.7455 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.6703, allocations: 199.1 kB / 0.7457 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-06/0.6703, allocations: 0 / 0.7457 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.6703, allocations: 4 kB / 0.7457 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6705, allocations: 330.8 kB / 0.746 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.6706, allocations: 35.97 kB / 0.7461 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.6707, allocations: 157.1 kB / 0.7462 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.6709, allocations: 71.86 kB / 0.7463 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6709, allocations: 0 / 0.7463 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004135/0.6713, allocations: 217.1 kB / 0.7465 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6713, allocations: 4 kB / 0.7465 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6713, allocations: 8 kB / 0.7465 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6713, allocations: 4 kB / 0.7465 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.6715, allocations: 43.92 kB / 0.7466 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.6715, allocations: 4 kB / 0.7466 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.6717, allocations: 32.17 kB / 0.7466 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.6717, allocations: 16 kB / 0.7466 GB, free: 8.34 MB / 0.5762 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.00015/0.6719, allocations: 226.5 kB / 0.7468 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.672, allocations: 128.6 kB / 0.747 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.312e-05/0.672, allocations: 121.8 kB / 0.7471 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.87e-05/0.6721, allocations: 176.3 kB / 0.7472 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-05/0.6722, allocations: 188.2 kB / 0.7474 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.367e-05/0.6722, allocations: 188.2 kB / 0.7476 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.6726, allocations: 481.1 kB / 0.7481 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-05/0.6726, allocations: 113 kB / 0.7482 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.6726, allocations: 104.9 kB / 0.7483 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.588e-05/0.6727, allocations: 176.3 kB / 0.7484 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.098e-05/0.6728, allocations: 184.3 kB / 0.7486 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.541e-05/0.6728, allocations: 188.2 kB / 0.7488 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.646e-05/0.6729, allocations: 176.3 kB / 0.749 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.6731, allocations: 319.6 kB / 0.7493 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.6732, allocations: 213.8 kB / 0.7495 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/0.6733, allocations: 184.2 kB / 0.7496 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.6734, allocations: 101 kB / 0.7497 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.6735, allocations: 184.2 kB / 0.7499 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.6735, allocations: 101 kB / 0.75 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002296/0.6737, allocations: 217.9 kB / 0.7502 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6737, allocations: 0 / 0.7502 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003647/0.6741, allocations: 48 kB / 0.7503 GB, free: 4.379 MB / 0.5762 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.000485/0.6746, allocations: 0.8553 MB / 0.7511 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.6748, allocations: 80.89 kB / 0.7512 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6748, allocations: 0 / 0.7512 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.6748, allocations: 0 / 0.7512 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.6754, allocations: 0.5513 MB / 0.7517 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.677, allocations: 1.255 MB / 0.7529 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.6773, allocations: 0.7398 MB / 0.7537 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001528/0.6775, allocations: 33.94 kB / 0.7537 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.6776, allocations: 59.41 kB / 0.7537 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.6776, allocations: 0 / 0.7537 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.6943, allocations: 3.822 MB / 0.7575 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.6946, allocations: 172.5 kB / 0.7576 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.451, allocations: 0 / 0.7576 GB, free: 12.75 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) Environment - environmentSimulation: