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.0009985/0.0009984, allocations: 108 kB / 15.61 MB, free: 152 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.001167/0.001167, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.211/1.211, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7258/0.7258, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 68.92 kB / 0.5019 GB, free: 3.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3324, allocations: 80.19 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1619/0.4943, allocations: 170.3 MB / 0.7465 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005446/0.4998, allocations: 6.007 MB / 0.7524 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.5, allocations: 11.94 kB / 0.7524 GB, free: 0.5312 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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/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/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.0005316/0.5005, allocations: 182.8 kB / 0.7526 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.5008, allocations: 91.36 kB / 0.7527 GB, free: 268 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009465/0.5017, allocations: 0.5178 MB / 0.7532 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.5021, allocations: 422.6 kB / 0.7536 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.5023, allocations: 123.6 kB / 0.7537 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.5026, allocations: 195.3 kB / 0.7539 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.5028, allocations: 147.4 kB / 0.754 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.5028, allocations: 16 kB / 0.754 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006608/0.5035, allocations: 462.8 kB / 0.7545 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.5036, allocations: 63.81 kB / 0.7545 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.095e-05/0.5037, allocations: 99.48 kB / 0.7546 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.5042, allocations: 454.7 kB / 0.7551 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5042, allocations: 4 kB / 0.7551 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5042, allocations: 0 / 0.7551 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.5042, allocations: 0 / 0.7551 GB, free: 13.79 MB / 0.5919 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.000494/0.5047, allocations: 0.5107 MB / 0.7556 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.5048, allocations: 12.03 kB / 0.7556 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.5048, allocations: 62.53 kB / 0.7556 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.5051, allocations: 39.7 kB / 0.7557 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.5053, allocations: 260.8 kB / 0.7559 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.5055, allocations: 135.3 kB / 0.756 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.5055, allocations: 24 kB / 0.7561 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.5059, allocations: 294.8 kB / 0.7564 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5059, allocations: 0 / 0.7564 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.5059, allocations: 12 kB / 0.7564 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.5059, allocations: 4 kB / 0.7564 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.5062, allocations: 164.6 kB / 0.7565 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.5074, allocations: 1.587 MB / 0.7581 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/0.5074, allocations: 173.1 kB / 0.7582 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.5075, allocations: 84.08 kB / 0.7583 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.5075, allocations: 75.28 kB / 0.7584 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.5075, allocations: 109.8 kB / 0.7585 GB, free: 10 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5076, allocations: 7.875 kB / 0.7585 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.517e-05/0.5076, allocations: 45.42 kB / 0.7585 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.5077, allocations: 134.7 kB / 0.7587 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.508, allocations: 306.6 kB / 0.759 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.508, allocations: 25.7 kB / 0.759 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.5081, allocations: 191.2 kB / 0.7592 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-06/0.5081, allocations: 4 kB / 0.7592 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.5082, allocations: 49.61 kB / 0.7592 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.5083, allocations: 330.8 kB / 0.7595 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.5084, allocations: 35.97 kB / 0.7596 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.5085, allocations: 159 kB / 0.7597 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.5087, allocations: 196.9 kB / 0.7599 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5087, allocations: 4 kB / 0.7599 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003773/0.5091, allocations: 221.5 kB / 0.7601 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.5091, allocations: 4 kB / 0.7601 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5092, allocations: 8 kB / 0.7601 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5092, allocations: 4 kB / 0.7601 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.5093, allocations: 39.92 kB / 0.7602 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5093, allocations: 8 kB / 0.7602 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.5095, allocations: 27.59 kB / 0.7602 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.5095, allocations: 19.98 kB / 0.7602 GB, free: 8.039 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.0001147/0.5096, allocations: 214.5 kB / 0.7604 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.5097, allocations: 136.7 kB / 0.7606 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.5098, allocations: 117.9 kB / 0.7607 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-05/0.5098, allocations: 188.2 kB / 0.7609 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.037e-05/0.5099, allocations: 176.3 kB / 0.761 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.857e-05/0.5099, allocations: 180.3 kB / 0.7612 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.5102, allocations: 489 kB / 0.7617 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/0.5102, allocations: 105 kB / 0.7618 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.5103, allocations: 108.9 kB / 0.7619 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.674e-05/0.5103, allocations: 180.2 kB / 0.762 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.5104, allocations: 180.3 kB / 0.7622 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.804e-05/0.5104, allocations: 184.2 kB / 0.7624 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.605e-05/0.5105, allocations: 180.3 kB / 0.7626 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.5106, allocations: 327.5 kB / 0.7629 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.5107, allocations: 205.8 kB / 0.7631 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.5108, allocations: 180.2 kB / 0.7632 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5109, allocations: 105.3 kB / 0.7633 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.511, allocations: 180.2 kB / 0.7635 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.511, allocations: 113 kB / 0.7636 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002083/0.5112, allocations: 221.9 kB / 0.7638 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5112, allocations: 0 / 0.7638 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003227/0.5116, allocations: 55.88 kB / 0.7639 GB, free: 4.07 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.0004647/0.512, allocations: 0.867 MB / 0.7647 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.5122, allocations: 83.77 kB / 0.7648 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5122, allocations: 0 / 0.7648 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5122, allocations: 1.25 kB / 0.7648 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.5126, allocations: 481.1 kB / 0.7653 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.5148, allocations: 2.519 MB / 0.7677 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.5151, allocations: 0.7359 MB / 0.7685 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.5152, allocations: 41.42 kB / 0.7685 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.5153, allocations: 51.42 kB / 0.7685 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.5153, allocations: 0 / 0.7685 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7978/1.313, allocations: 3.958 MB / 0.7724 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/8.566, allocations: 5.703 kB / 0.7724 GB, free: 11.2 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)