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.0009222/0.0009222, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004478/0.004478, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.263/1.263, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7277/0.7277, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002855, allocations: 8 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3385, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1571/0.4957, allocations: 165.9 MB / 0.7457 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005564/0.5013, allocations: 5.906 MB / 0.7515 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.5015, allocations: 8 kB / 0.7515 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.502, allocations: 147.1 kB / 0.7517 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.5022, allocations: 91.48 kB / 0.7517 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.5031, allocations: 490.5 kB / 0.7522 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.5036, allocations: 462.7 kB / 0.7527 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.5038, allocations: 131.5 kB / 0.7528 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.5041, allocations: 163.3 kB / 0.7529 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.5042, allocations: 127.4 kB / 0.7531 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.5043, allocations: 8 kB / 0.7531 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006863/0.505, allocations: 0.522 MB / 0.7536 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.5051, allocations: 51.83 kB / 0.7536 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.5052, allocations: 117.2 kB / 0.7537 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.5057, allocations: 458.5 kB / 0.7542 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.5057, allocations: 0 / 0.7542 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5057, allocations: 0 / 0.7542 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.5057, allocations: 0 / 0.7542 GB, free: 1.297 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.0004874/0.5062, allocations: 487 kB / 0.7546 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.5062, allocations: 12.03 kB / 0.7546 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.644e-05/0.5063, allocations: 62.55 kB / 0.7547 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.5065, allocations: 43.69 kB / 0.7548 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.5068, allocations: 252.8 kB / 0.755 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.5069, allocations: 139.2 kB / 0.7551 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.507, allocations: 24 kB / 0.7551 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.5074, allocations: 294.8 kB / 0.7554 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.5074, allocations: 0 / 0.7554 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.5074, allocations: 12 kB / 0.7554 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.5074, allocations: 4 kB / 0.7554 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.5077, allocations: 164.6 kB / 0.7556 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.5089, allocations: 1.583 MB / 0.7571 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.903e-05/0.509, allocations: 177.1 kB / 0.7573 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.509, allocations: 88.08 kB / 0.7574 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.509, allocations: 75.28 kB / 0.7575 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.5091, allocations: 105.8 kB / 0.7576 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5091, allocations: 0 / 0.7576 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.605e-05/0.5092, allocations: 53.44 kB / 0.7576 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.5092, allocations: 126.7 kB / 0.7577 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.5095, allocations: 318.5 kB / 0.758 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.5096, allocations: 29.7 kB / 0.7581 GB, free: 13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5097, allocations: 183.2 kB / 0.7583 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.631e-06/0.5097, allocations: 8 kB / 0.7583 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.5097, allocations: 21.7 kB / 0.7583 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.5098, allocations: 326.8 kB / 0.7586 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.5099, allocations: 35.97 kB / 0.7586 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.5101, allocations: 161.8 kB / 0.7588 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.5103, allocations: 200.9 kB / 0.759 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5103, allocations: 0 / 0.759 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000378/0.5107, allocations: 224.9 kB / 0.7592 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.5107, allocations: 8 kB / 0.7592 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5107, allocations: 4 kB / 0.7592 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5107, allocations: 4 kB / 0.7592 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.5109, allocations: 39.92 kB / 0.7592 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5109, allocations: 8.578 kB / 0.7592 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.5111, allocations: 35.69 kB / 0.7593 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.5111, allocations: 8 kB / 0.7593 GB, free: 11.61 MB / 0.5919 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.0001209/0.5112, allocations: 222.5 kB / 0.7595 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.5113, allocations: 128.7 kB / 0.7596 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.5113, allocations: 121.8 kB / 0.7597 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-05/0.5114, allocations: 180.3 kB / 0.7599 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.723e-05/0.5114, allocations: 184.2 kB / 0.7601 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.211e-05/0.5115, allocations: 180.3 kB / 0.7603 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.5118, allocations: 489 kB / 0.7607 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-05/0.5118, allocations: 108.9 kB / 0.7608 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.5118, allocations: 101 kB / 0.7609 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.485e-05/0.5119, allocations: 184.2 kB / 0.7611 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.5119, allocations: 180.3 kB / 0.7613 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.54e-05/0.512, allocations: 188.1 kB / 0.7615 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-05/0.512, allocations: 176.3 kB / 0.7616 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.5122, allocations: 331.4 kB / 0.7619 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.5123, allocations: 205.9 kB / 0.7621 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.5123, allocations: 180.2 kB / 0.7623 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5124, allocations: 101 kB / 0.7624 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.5125, allocations: 184.2 kB / 0.7626 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.5125, allocations: 108.9 kB / 0.7627 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002133/0.5128, allocations: 217.9 kB / 0.7629 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5128, allocations: 4 kB / 0.7629 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003357/0.5131, allocations: 51.84 kB / 0.7629 GB, free: 7.641 MB / 0.5919 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.0004524/0.5136, allocations: 0.8554 MB / 0.7638 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.5137, allocations: 80.97 kB / 0.7639 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5138, allocations: 8 kB / 0.7639 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.5138, allocations: 0 / 0.7639 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.5142, allocations: 0.5418 MB / 0.7644 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.5166, allocations: 2.59 MB / 0.7669 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.5168, allocations: 0.7359 MB / 0.7676 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.517, allocations: 37.94 kB / 0.7677 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.517, allocations: 59.41 kB / 0.7677 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5171, allocations: 0 / 0.7677 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/0.6704, allocations: 3.724 MB / 0.7714 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.6706, allocations: 181.9 kB / 0.7715 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.406, allocations: 0 / 0.7715 GB, free: 14.67 MB / 0.6075 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/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)