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.004441/0.004441, allocations: 101.7 kB / 15.88 MB, free: 6.32 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.0008411/0.0008411, allocations: 194.8 kB / 16.79 MB, free: 6.246 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.115/1.115, allocations: 222.9 MB / 240.5 MB, free: 15.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6075/0.6075, allocations: 115.3 MB / 405.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 59.91 kB / 493 MB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2473, allocations: 76.16 MB / 0.5558 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1317/0.3791, allocations: 168.1 MB / 0.7199 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004891/0.384, allocations: 5.996 MB / 0.7258 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.3842, allocations: 4 kB / 0.7258 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.3847, allocations: 151.1 kB / 0.7259 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.3849, allocations: 83.5 kB / 0.726 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009045/0.3858, allocations: 490.5 kB / 0.7265 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.3862, allocations: 470.7 kB / 0.7269 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.3864, allocations: 131.6 kB / 0.7271 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.3867, allocations: 171.3 kB / 0.7272 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.3869, allocations: 155.4 kB / 0.7274 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.3869, allocations: 12 kB / 0.7274 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006865/0.3876, allocations: 0.5181 MB / 0.7279 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.3877, allocations: 63.83 kB / 0.7279 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.3878, allocations: 99.47 kB / 0.728 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.3883, allocations: 474.5 kB / 0.7285 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3883, allocations: 0 / 0.7285 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3883, allocations: 4 kB / 0.7285 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.3883, allocations: 0 / 0.7285 GB, free: 3.293 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.0004793/0.3888, allocations: 0.5107 MB / 0.729 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.3888, allocations: 11.97 kB / 0.729 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.3889, allocations: 70.47 kB / 0.7291 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.3891, allocations: 39.7 kB / 0.7291 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.3894, allocations: 260.6 kB / 0.7294 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.3895, allocations: 131.4 kB / 0.7295 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.3895, allocations: 20 kB / 0.7295 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.3899, allocations: 302.6 kB / 0.7298 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.3899, allocations: 4 kB / 0.7298 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.3899, allocations: 12 kB / 0.7298 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3899, allocations: 8 kB / 0.7298 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.3902, allocations: 156.6 kB / 0.73 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3913, allocations: 1.579 MB / 0.7315 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.3913, allocations: 173.1 kB / 0.7317 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.3914, allocations: 80.14 kB / 0.7318 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3914, allocations: 79.28 kB / 0.7318 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.3914, allocations: 113.8 kB / 0.7319 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3914, allocations: 0 / 0.7319 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.426e-05/0.3915, allocations: 49.45 kB / 0.732 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.3916, allocations: 126.7 kB / 0.7321 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.3918, allocations: 314.5 kB / 0.7324 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.3919, allocations: 25.7 kB / 0.7324 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.392, allocations: 183.2 kB / 0.7326 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-06/0.392, allocations: 8 kB / 0.7326 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.392, allocations: 45.56 kB / 0.7327 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.3921, allocations: 334.8 kB / 0.733 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.3922, allocations: 35.98 kB / 0.733 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3924, allocations: 159.9 kB / 0.7332 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3925, allocations: 196.9 kB / 0.7333 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3925, allocations: 0 / 0.7333 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003444/0.3929, allocations: 224.9 kB / 0.7336 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3929, allocations: 11.94 kB / 0.7336 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3929, allocations: 4.625 kB / 0.7336 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3929, allocations: 8 kB / 0.7336 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.3931, allocations: 39.92 kB / 0.7336 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3931, allocations: 4 kB / 0.7336 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.3933, allocations: 31.69 kB / 0.7337 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.3933, allocations: 12 kB / 0.7337 GB, free: 13.54 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.0001099/0.3934, allocations: 221 kB / 0.7339 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.3935, allocations: 120.7 kB / 0.734 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.3935, allocations: 129.7 kB / 0.7341 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.265e-05/0.3936, allocations: 184.3 kB / 0.7343 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.463e-05/0.3936, allocations: 192.2 kB / 0.7345 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-05/0.3937, allocations: 176.3 kB / 0.7346 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.3939, allocations: 485 kB / 0.7351 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/0.3939, allocations: 101 kB / 0.7352 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.394, allocations: 105.1 kB / 0.7353 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.432e-05/0.394, allocations: 192.1 kB / 0.7355 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.3941, allocations: 184.3 kB / 0.7357 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.019e-05/0.3941, allocations: 180.2 kB / 0.7358 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.054e-05/0.3942, allocations: 176.3 kB / 0.736 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.3943, allocations: 327.5 kB / 0.7363 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.3944, allocations: 205.8 kB / 0.7365 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.3944, allocations: 184.2 kB / 0.7367 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3945, allocations: 113 kB / 0.7368 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.3946, allocations: 176.3 kB / 0.737 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.3946, allocations: 112.9 kB / 0.7371 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001987/0.3948, allocations: 217.9 kB / 0.7373 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3948, allocations: 0 / 0.7373 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003108/0.3952, allocations: 59.83 kB / 0.7373 GB, free: 9.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.000425/0.3956, allocations: 0.8554 MB / 0.7382 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.3957, allocations: 80.14 kB / 0.7382 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3958, allocations: 4 kB / 0.7383 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.3958, allocations: 3.938 kB / 0.7383 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3962, allocations: 0.5434 MB / 0.7388 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3983, allocations: 2.563 MB / 0.7413 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.3985, allocations: 0.7359 MB / 0.742 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.3986, allocations: 33.94 kB / 0.742 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.3987, allocations: 63.41 kB / 0.7421 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.3987, allocations: 3.938 kB / 0.7421 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2574/0.6561, allocations: 3.794 MB / 0.7458 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/0.6564, allocations: 195.5 kB / 0.746 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.44, allocations: 9.797 kB / 0.746 GB, free: 0.5117 MB / 0.5762 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)