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.001697/0.001697, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001354/0.001354, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.175/1.175, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8479/0.8479, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 61.42 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 80.92 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.3494/0.4733, allocations: 168 MB / 0.7479 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004953/0.4783, allocations: 5.993 MB / 0.7538 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.4785, allocations: 7.406 kB / 0.7538 GB, free: 14.18 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.0004657/0.479, allocations: 154.2 kB / 0.7539 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.4792, allocations: 82.83 kB / 0.754 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.48, allocations: 496.7 kB / 0.7545 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.4804, allocations: 471.4 kB / 0.7549 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.4806, allocations: 138.7 kB / 0.7551 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.4808, allocations: 163.3 kB / 0.7552 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.481, allocations: 151.8 kB / 0.7554 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.481, allocations: 10.34 kB / 0.7554 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006747/0.4817, allocations: 0.5208 MB / 0.7559 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.4818, allocations: 68.98 kB / 0.7559 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.469e-05/0.4819, allocations: 104 kB / 0.756 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.4824, allocations: 456.9 kB / 0.7565 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.4824, allocations: 0 / 0.7565 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.01e-07/0.4824, allocations: 0 / 0.7565 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.4824, allocations: 0 / 0.7565 GB, free: 12.42 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.0004778/0.4829, allocations: 0.5272 MB / 0.757 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.4829, allocations: 6.719 kB / 0.757 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.483, allocations: 62.62 kB / 0.7571 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.4832, allocations: 43.36 kB / 0.7571 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.4835, allocations: 262.5 kB / 0.7573 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.4836, allocations: 135.3 kB / 0.7575 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.4837, allocations: 27.94 kB / 0.7575 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.4841, allocations: 286.8 kB / 0.7578 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4841, allocations: 7.938 kB / 0.7578 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.4841, allocations: 12 kB / 0.7578 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.4842, allocations: 8 kB / 0.7578 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.4845, allocations: 160.6 kB / 0.758 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.4857, allocations: 1.571 MB / 0.7595 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.258e-05/0.4857, allocations: 173.1 kB / 0.7597 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.4858, allocations: 84.08 kB / 0.7597 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.4858, allocations: 79.28 kB / 0.7598 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.4858, allocations: 113.8 kB / 0.7599 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.4858, allocations: 0 / 0.7599 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.664e-05/0.4859, allocations: 49.42 kB / 0.76 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.486, allocations: 126.7 kB / 0.7601 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.4863, allocations: 306.7 kB / 0.7604 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-06/0.4863, allocations: 25.7 kB / 0.7604 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.4864, allocations: 195.1 kB / 0.7606 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/0.4864, allocations: 8 kB / 0.7606 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.4865, allocations: 41.61 kB / 0.7606 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.4866, allocations: 338.8 kB / 0.761 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.4867, allocations: 35.97 kB / 0.761 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.4868, allocations: 157.1 kB / 0.7611 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.487, allocations: 196.9 kB / 0.7613 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.487, allocations: 0 / 0.7613 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003653/0.4874, allocations: 224.9 kB / 0.7616 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4874, allocations: 8 kB / 0.7616 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4874, allocations: 4.625 kB / 0.7616 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4875, allocations: 12 kB / 0.7616 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.4876, allocations: 39.86 kB / 0.7616 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4876, allocations: 7.938 kB / 0.7616 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.4878, allocations: 31.69 kB / 0.7616 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.4878, allocations: 15.98 kB / 0.7617 GB, free: 6.77 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.000112/0.488, allocations: 213 kB / 0.7619 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.488, allocations: 128.6 kB / 0.762 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.4881, allocations: 124.5 kB / 0.7621 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.505e-05/0.4881, allocations: 188.2 kB / 0.7623 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.726e-05/0.4882, allocations: 180.3 kB / 0.7625 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.613e-05/0.4882, allocations: 180.2 kB / 0.7626 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.4885, allocations: 477.1 kB / 0.7631 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.978e-05/0.4885, allocations: 101.1 kB / 0.7632 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.4886, allocations: 116.9 kB / 0.7633 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-05/0.4886, allocations: 192.2 kB / 0.7635 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.4887, allocations: 180.2 kB / 0.7637 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.223e-05/0.4887, allocations: 176.3 kB / 0.7638 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-05/0.4888, allocations: 180.2 kB / 0.764 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.4889, allocations: 327.6 kB / 0.7643 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.551e-05/0.489, allocations: 213.7 kB / 0.7645 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/0.4891, allocations: 176.3 kB / 0.7647 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4892, allocations: 108.9 kB / 0.7648 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.4893, allocations: 176.3 kB / 0.7649 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.4893, allocations: 109 kB / 0.7651 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002129/0.4895, allocations: 221.9 kB / 0.7653 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4895, allocations: 0 / 0.7653 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003426/0.4899, allocations: 51.94 kB / 0.7653 GB, free: 2.809 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.0004824/0.4903, allocations: 0.8553 MB / 0.7661 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.4905, allocations: 83.83 kB / 0.7662 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4905, allocations: 0 / 0.7662 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.4905, allocations: 0 / 0.7662 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.491, allocations: 0.5437 MB / 0.7668 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.4932, allocations: 2.568 MB / 0.7693 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.4935, allocations: 0.7359 MB / 0.77 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.4936, allocations: 40.77 kB / 0.77 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.4937, allocations: 59.42 kB / 0.7701 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.4937, allocations: 0 / 0.7701 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2357/0.7294, allocations: 3.794 MB / 0.7738 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.7296, allocations: 212.7 kB / 0.774 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.41, allocations: 3.938 kB / 0.774 GB, free: 9.746 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)