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.001106/0.001106, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9079/0.9079, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 65.33 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1378, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4203/0.5581, allocations: 170.3 MB / 0.7508 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005859/0.564, allocations: 5.999 MB / 0.7567 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.5643, allocations: 12.19 kB / 0.7567 GB, free: 11.9 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.5649, allocations: 182.1 kB / 0.7568 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.5652, allocations: 96.62 kB / 0.7569 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.5663, allocations: 0.5126 MB / 0.7574 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.5667, allocations: 414.9 kB / 0.7578 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.5669, allocations: 136.8 kB / 0.758 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.5672, allocations: 196.9 kB / 0.7581 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.5674, allocations: 140.8 kB / 0.7583 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.5674, allocations: 16.28 kB / 0.7583 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006666/0.5681, allocations: 469.6 kB / 0.7587 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.5682, allocations: 59.83 kB / 0.7588 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.992e-05/0.5683, allocations: 103.5 kB / 0.7589 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.5688, allocations: 446.7 kB / 0.7593 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5689, allocations: 3.938 kB / 0.7593 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5689, allocations: 0 / 0.7593 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5689, allocations: 3.938 kB / 0.7593 GB, free: 9.855 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.0005641/0.5694, allocations: 0.5185 MB / 0.7598 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.5695, allocations: 8.031 kB / 0.7598 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.71e-05/0.5696, allocations: 58.55 kB / 0.7599 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.5698, allocations: 51.69 kB / 0.76 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.5701, allocations: 253.1 kB / 0.7602 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.5703, allocations: 131.4 kB / 0.7603 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.5703, allocations: 27.94 kB / 0.7603 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.5707, allocations: 294.8 kB / 0.7606 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5707, allocations: 3.938 kB / 0.7606 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.5708, allocations: 12 kB / 0.7606 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.5708, allocations: 8 kB / 0.7607 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.5711, allocations: 148.6 kB / 0.7608 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.5723, allocations: 1.591 MB / 0.7623 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.61e-05/0.5724, allocations: 169.1 kB / 0.7625 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.5725, allocations: 84.14 kB / 0.7626 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.5725, allocations: 75.28 kB / 0.7627 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.5725, allocations: 109.8 kB / 0.7628 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.5725, allocations: 0 / 0.7628 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.447e-05/0.5726, allocations: 49.42 kB / 0.7628 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.5727, allocations: 126.7 kB / 0.7629 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.573, allocations: 318.5 kB / 0.7632 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.5731, allocations: 25.7 kB / 0.7633 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.5732, allocations: 191.2 kB / 0.7634 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.5732, allocations: 0 / 0.7634 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.5733, allocations: 49.61 kB / 0.7635 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5734, allocations: 326.8 kB / 0.7638 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.34e-05/0.5735, allocations: 35.97 kB / 0.7638 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.5736, allocations: 159.2 kB / 0.764 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.5739, allocations: 204.8 kB / 0.7642 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5739, allocations: 0 / 0.7642 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004067/0.5743, allocations: 217.1 kB / 0.7644 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5743, allocations: 8 kB / 0.7644 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5743, allocations: 4 kB / 0.7644 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5743, allocations: 4 kB / 0.7644 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.5745, allocations: 48.53 kB / 0.7645 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.5745, allocations: 7.938 kB / 0.7645 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.5747, allocations: 28.22 kB / 0.7645 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.5747, allocations: 16 kB / 0.7645 GB, free: 4.121 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.0001273/0.5749, allocations: 221 kB / 0.7647 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/0.5749, allocations: 132.6 kB / 0.7648 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.718e-05/0.575, allocations: 131.1 kB / 0.765 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.321e-05/0.5751, allocations: 176.3 kB / 0.7651 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.555e-05/0.5751, allocations: 184.2 kB / 0.7653 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/0.5752, allocations: 184.2 kB / 0.7655 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.5755, allocations: 481.1 kB / 0.7659 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/0.5755, allocations: 104.9 kB / 0.766 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.5756, allocations: 104.9 kB / 0.7661 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.233e-05/0.5756, allocations: 176.3 kB / 0.7663 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.5757, allocations: 184.2 kB / 0.7665 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-05/0.5758, allocations: 188.5 kB / 0.7667 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-05/0.5758, allocations: 187.3 kB / 0.7668 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.576, allocations: 315.6 kB / 0.7671 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.5761, allocations: 217.7 kB / 0.7674 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.5762, allocations: 180.2 kB / 0.7675 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.5763, allocations: 108.9 kB / 0.7676 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.5764, allocations: 180.3 kB / 0.7678 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.5764, allocations: 104.9 kB / 0.7679 GB, free: 424 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002168/0.5766, allocations: 217.9 kB / 0.7681 GB, free: 208 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5766, allocations: 4 kB / 0.7681 GB, free: 204 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003451/0.577, allocations: 51.94 kB / 0.7682 GB, free: 152 kB / 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.0005735/0.5776, allocations: 0.8554 MB / 0.769 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.5778, allocations: 80.91 kB / 0.7691 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5778, allocations: 4.125 kB / 0.7691 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.5778, allocations: 3.984 kB / 0.7691 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.5783, allocations: 482.2 kB / 0.7695 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.5807, allocations: 2.512 MB / 0.772 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.581, allocations: 0.7401 MB / 0.7727 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.5811, allocations: 33.94 kB / 0.7728 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.5812, allocations: 59.41 kB / 0.7728 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.5812, allocations: 0 / 0.7728 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.6006, allocations: 3.965 MB / 0.7767 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.93, allocations: 12.64 kB / 0.7767 GB, free: 7.297 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)