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.0008554/0.0008554, allocations: 97.72 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.005511/0.005511, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9273/0.9273, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002949, allocations: 8 kB / 0.5077 GB, free: 4.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 82.3 MB / 0.5881 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4255/0.5635, allocations: 165.9 MB / 0.75 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006425/0.5699, allocations: 5.901 MB / 0.7558 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003318/0.5703, allocations: 12.47 kB / 0.7558 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.5709, allocations: 150 kB / 0.756 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.5712, allocations: 76.78 kB / 0.756 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.5724, allocations: 0.4887 MB / 0.7565 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000521/0.573, allocations: 472 kB / 0.757 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.5732, allocations: 133.4 kB / 0.7571 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.5735, allocations: 156.6 kB / 0.7572 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.5737, allocations: 135.9 kB / 0.7574 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.5738, allocations: 4.75 kB / 0.7574 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007776/0.5745, allocations: 0.5158 MB / 0.7579 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.5746, allocations: 57.55 kB / 0.7579 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.5748, allocations: 120 kB / 0.7581 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.5753, allocations: 460.6 kB / 0.7585 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5754, allocations: 0 / 0.7585 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5754, allocations: 0 / 0.7585 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5754, allocations: 0 / 0.7585 GB, free: 12.53 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.0005124/0.5759, allocations: 488.2 kB / 0.759 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.5759, allocations: 9.031 kB / 0.759 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.704e-05/0.576, allocations: 62.3 kB / 0.759 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.5763, allocations: 43.27 kB / 0.7591 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.5765, allocations: 254.4 kB / 0.7593 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.5767, allocations: 132.1 kB / 0.7594 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.5767, allocations: 29.64 kB / 0.7595 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.5771, allocations: 289.8 kB / 0.7597 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5772, allocations: 5.719 kB / 0.7597 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.5772, allocations: 7.344 kB / 0.7598 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5772, allocations: 5.906 kB / 0.7598 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.5775, allocations: 158.8 kB / 0.7599 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.5788, allocations: 1.589 MB / 0.7615 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.234e-05/0.5788, allocations: 171.8 kB / 0.7616 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.5789, allocations: 88.06 kB / 0.7617 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.5789, allocations: 75.28 kB / 0.7618 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.579, allocations: 113.8 kB / 0.7619 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.579, allocations: 0 / 0.7619 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.962e-05/0.579, allocations: 44.17 kB / 0.7619 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.5791, allocations: 126.7 kB / 0.762 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.5794, allocations: 310.3 kB / 0.7623 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.5795, allocations: 25.7 kB / 0.7624 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.5796, allocations: 195.7 kB / 0.7626 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.5796, allocations: 4 kB / 0.7626 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.5796, allocations: 22.91 kB / 0.7626 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5798, allocations: 333 kB / 0.7629 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.5798, allocations: 42.66 kB / 0.7629 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.58, allocations: 155.6 kB / 0.7631 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.5802, allocations: 202.1 kB / 0.7633 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5802, allocations: 0 / 0.7633 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003978/0.5806, allocations: 225.4 kB / 0.7635 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5807, allocations: 8 kB / 0.7635 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5807, allocations: 4 kB / 0.7635 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5807, allocations: 4 kB / 0.7635 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.5809, allocations: 47.86 kB / 0.7636 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.5809, allocations: 11.92 kB / 0.7636 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.581, allocations: 27.69 kB / 0.7636 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.5811, allocations: 12 kB / 0.7636 GB, free: 7.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.5812, allocations: 225 kB / 0.7638 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.5813, allocations: 120.7 kB / 0.7639 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.545e-05/0.5814, allocations: 125.8 kB / 0.7641 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/0.5814, allocations: 176.3 kB / 0.7642 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.164e-05/0.5815, allocations: 176.3 kB / 0.7644 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-05/0.5815, allocations: 184.2 kB / 0.7646 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.5818, allocations: 485.1 kB / 0.765 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.644e-05/0.5819, allocations: 104.9 kB / 0.7651 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.5819, allocations: 108.9 kB / 0.7652 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.184e-05/0.582, allocations: 176.3 kB / 0.7654 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.582, allocations: 184.2 kB / 0.7656 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.252e-05/0.5821, allocations: 184.9 kB / 0.7658 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.326e-05/0.5822, allocations: 184.2 kB / 0.7659 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.5823, allocations: 319.5 kB / 0.7662 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5824, allocations: 213.8 kB / 0.7664 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.5825, allocations: 176.3 kB / 0.7666 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.5826, allocations: 108.9 kB / 0.7667 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.5827, allocations: 180.3 kB / 0.7669 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.5827, allocations: 105 kB / 0.767 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002311/0.583, allocations: 217.9 kB / 0.7672 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.623e-06/0.583, allocations: 0 / 0.7672 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003482/0.5833, allocations: 59.78 kB / 0.7672 GB, free: 3.562 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 (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.0004793/0.5838, allocations: 0.8554 MB / 0.7681 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.584, allocations: 83.77 kB / 0.7682 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.584, allocations: 0 / 0.7682 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.584, allocations: 1.25 kB / 0.7682 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.5845, allocations: 0.5425 MB / 0.7687 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.587, allocations: 2.6 MB / 0.7712 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.5872, allocations: 0.7359 MB / 0.772 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000153/0.5874, allocations: 35.03 kB / 0.772 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.5875, allocations: 55.41 kB / 0.772 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.5875, allocations: 0 / 0.772 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2644/0.8519, allocations: 3.718 MB / 0.7757 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.8522, allocations: 199.8 kB / 0.7759 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.448, allocations: 7.938 kB / 0.7759 GB, free: 10.59 MB / 0.5919 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/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)