Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.AirToOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_dev_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.0008036/0.0008037, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009533/0.0009533, allocations: 172.7 kB / 15.95 MB, free: 208 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.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9957/0.9957, allocations: 135.3 MB / 426.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 8 kB / 0.5071 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.171, allocations: 82.31 MB / 0.5875 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5622/0.7333, allocations: 154.8 MB / 0.7386 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006411/0.7398, allocations: 5.561 MB / 0.7441 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003473/0.7402, allocations: 5.719 kB / 0.7441 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.7408, allocations: 132.4 kB / 0.7442 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.7411, allocations: 78.39 kB / 0.7443 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009233/0.742, allocations: 348.2 kB / 0.7446 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.7425, allocations: 407.3 kB / 0.745 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.7427, allocations: 96.11 kB / 0.7451 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.743, allocations: 153.9 kB / 0.7452 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.7432, allocations: 129.8 kB / 0.7454 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.7433, allocations: 5.219 kB / 0.7454 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/0.7438, allocations: 225.4 kB / 0.7456 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.7439, allocations: 53.41 kB / 0.7456 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.368e-05/0.7439, allocations: 64.7 kB / 0.7457 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.7443, allocations: 274.9 kB / 0.746 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7443, allocations: 0 / 0.746 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7443, allocations: 3.938 kB / 0.746 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7443, allocations: 0 / 0.746 GB, free: 7.945 MB / 0.5606 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.0005301/0.7449, allocations: 486.8 kB / 0.7464 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.7449, allocations: 12.81 kB / 0.7464 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.097e-05/0.745, allocations: 62.44 kB / 0.7465 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.7452, allocations: 43.11 kB / 0.7465 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.7456, allocations: 254.6 kB / 0.7468 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.7457, allocations: 136.2 kB / 0.7469 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.7457, allocations: 21.97 kB / 0.7469 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.7462, allocations: 288.9 kB / 0.7472 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.7462, allocations: 0 / 0.7472 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.7463, allocations: 13.47 kB / 0.7472 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.7463, allocations: 5.781 kB / 0.7472 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.7466, allocations: 159.6 kB / 0.7474 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.7481, allocations: 1.585 MB / 0.7489 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.436e-05/0.7482, allocations: 172.3 kB / 0.7491 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.7482, allocations: 80.14 kB / 0.7492 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.7482, allocations: 79.28 kB / 0.7492 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/0.7483, allocations: 105.8 kB / 0.7493 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.7483, allocations: 3.938 kB / 0.7493 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.178e-05/0.7484, allocations: 44.05 kB / 0.7494 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.7484, allocations: 134.6 kB / 0.7495 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.7488, allocations: 309.8 kB / 0.7498 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.7488, allocations: 25.7 kB / 0.7498 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.749, allocations: 196.9 kB / 0.75 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.749, allocations: 2.938 kB / 0.75 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.749, allocations: 4 kB / 0.75 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7491, allocations: 331.4 kB / 0.7503 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.193e-05/0.7492, allocations: 36 kB / 0.7504 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.7494, allocations: 162.7 kB / 0.7505 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.7495, allocations: 65.66 kB / 0.7506 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7495, allocations: 2.906 kB / 0.7506 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003761/0.7499, allocations: 209.8 kB / 0.7508 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.7499, allocations: 13.16 kB / 0.7508 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7499, allocations: 2.406 kB / 0.7508 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.75, allocations: 7.969 kB / 0.7508 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.7501, allocations: 45.66 kB / 0.7509 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.7501, allocations: 5.812 kB / 0.7509 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.7503, allocations: 27.06 kB / 0.7509 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.7503, allocations: 16.69 kB / 0.7509 GB, free: 3.348 MB / 0.5606 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.0001611/0.7505, allocations: 218.5 kB / 0.7511 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.7506, allocations: 127.8 kB / 0.7512 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.7507, allocations: 127.4 kB / 0.7514 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001362/0.7508, allocations: 179.4 kB / 0.7515 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001529/0.751, allocations: 184.2 kB / 0.7517 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001245/0.7511, allocations: 184.2 kB / 0.7519 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.7514, allocations: 477.5 kB / 0.7523 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.7514, allocations: 104.9 kB / 0.7524 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.7515, allocations: 107.8 kB / 0.7525 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-05/0.7516, allocations: 180.2 kB / 0.7527 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.7516, allocations: 187.2 kB / 0.7529 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-05/0.7517, allocations: 186.8 kB / 0.7531 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.171e-05/0.7518, allocations: 180.2 kB / 0.7532 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.7519, allocations: 323 kB / 0.7536 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.7521, allocations: 209.7 kB / 0.7538 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.7522, allocations: 183.1 kB / 0.7539 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.7523, allocations: 108.9 kB / 0.754 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.7524, allocations: 176.3 kB / 0.7542 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.7524, allocations: 107.4 kB / 0.7543 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002267/0.7527, allocations: 218.5 kB / 0.7545 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7527, allocations: 0 / 0.7545 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003609/0.753, allocations: 49.31 kB / 0.7546 GB, free: 15.59 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.0005185/0.7536, allocations: 0.8435 MB / 0.7554 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.7538, allocations: 84.94 kB / 0.7555 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7538, allocations: 0 / 0.7555 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.7538, allocations: 3.938 kB / 0.7555 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/0.7543, allocations: 0.5527 MB / 0.756 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.7561, allocations: 1.247 MB / 0.7572 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.7565, allocations: 0.7489 MB / 0.758 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.7566, allocations: 35.44 kB / 0.758 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.7567, allocations: 51.42 kB / 0.758 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.7567, allocations: 0 / 0.758 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.7717, allocations: 3.828 MB / 0.7618 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.7719, allocations: 185.9 kB / 0.762 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.666, allocations: 0 / 0.762 GB, free: 8.953 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) Environment - environmentSimulation: