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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 114.5 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 216 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.372/1.372, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7897/0.7897, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 64.52 kB / 0.6185 GB, free: 7.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1628, allocations: 85.9 MB / 0.7024 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5285/0.6913, allocations: 174.1 MB / 0.8724 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007808/0.6991, allocations: 6.111 MB / 0.8784 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.6994, allocations: 15.88 kB / 0.8784 GB, free: 2.453 MB / 0.6387 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.0007921/0.7002, allocations: 186.8 kB / 0.8786 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.7007, allocations: 99.38 kB / 0.8787 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.7021, allocations: 0.5489 MB / 0.8792 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.7028, allocations: 414.5 kB / 0.8796 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.703, allocations: 96.14 kB / 0.8797 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000405/0.7034, allocations: 191.3 kB / 0.8799 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.7037, allocations: 155.4 kB / 0.8801 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.7038, allocations: 16 kB / 0.8801 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000958/0.7047, allocations: 0.5026 MB / 0.8806 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.7048, allocations: 75.75 kB / 0.8806 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.705, allocations: 103.4 kB / 0.8807 GB, free: 84 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008136/0.7058, allocations: 478.3 kB / 0.8812 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7058, allocations: 0 / 0.8812 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7058, allocations: 0 / 0.8812 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.7058, allocations: 0 / 0.8812 GB, free: 15.61 MB / 0.6544 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.0007067/0.7065, allocations: 465.3 kB / 0.8816 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.7065, allocations: 12.02 kB / 0.8816 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.815e-05/0.7066, allocations: 58.55 kB / 0.8817 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.7069, allocations: 55.73 kB / 0.8818 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.7073, allocations: 196.8 kB / 0.8819 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.7075, allocations: 242.1 kB / 0.8822 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.7075, allocations: 23.94 kB / 0.8822 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.708, allocations: 290 kB / 0.8825 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.708, allocations: 7.938 kB / 0.8825 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.708, allocations: 8 kB / 0.8825 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.708, allocations: 12 kB / 0.8825 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.7084, allocations: 160.6 kB / 0.8827 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.7099, allocations: 1.541 MB / 0.8842 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.71, allocations: 169.1 kB / 0.8843 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.7101, allocations: 88.14 kB / 0.8844 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.7101, allocations: 79.22 kB / 0.8845 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/0.7102, allocations: 105.8 kB / 0.8846 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.7102, allocations: 3.938 kB / 0.8846 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001025/0.7103, allocations: 41.61 kB / 0.8846 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.7104, allocations: 134.7 kB / 0.8847 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.7108, allocations: 309.8 kB / 0.885 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.7108, allocations: 25.7 kB / 0.8851 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.711, allocations: 195.7 kB / 0.8853 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.711, allocations: 4 kB / 0.8853 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.7111, allocations: 45.66 kB / 0.8853 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.7113, allocations: 334.8 kB / 0.8856 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.7114, allocations: 35.97 kB / 0.8857 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.7116, allocations: 163.6 kB / 0.8858 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.7118, allocations: 196.9 kB / 0.886 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7118, allocations: 0 / 0.886 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004349/0.7123, allocations: 221 kB / 0.8862 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7123, allocations: 8 kB / 0.8862 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7123, allocations: 4 kB / 0.8862 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.7123, allocations: 11.94 kB / 0.8862 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.7125, allocations: 40.55 kB / 0.8863 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.7125, allocations: 8 kB / 0.8863 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.7126, allocations: 31.73 kB / 0.8863 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.7127, allocations: 16 kB / 0.8863 GB, free: 9.906 MB / 0.6544 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.0001653/0.7128, allocations: 221 kB / 0.8865 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.7129, allocations: 124.8 kB / 0.8867 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.931e-05/0.713, allocations: 121.8 kB / 0.8868 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.694e-05/0.7131, allocations: 188.2 kB / 0.887 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.611e-05/0.7132, allocations: 180.3 kB / 0.8871 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.478e-05/0.7133, allocations: 180.3 kB / 0.8873 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.7136, allocations: 452.1 kB / 0.8877 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.787e-05/0.7137, allocations: 105.8 kB / 0.8878 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.7137, allocations: 108.9 kB / 0.8879 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-05/0.7138, allocations: 180.3 kB / 0.8881 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.87e-05/0.7139, allocations: 188.2 kB / 0.8883 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.394e-05/0.714, allocations: 180.2 kB / 0.8885 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-05/0.7141, allocations: 184.2 kB / 0.8886 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.7143, allocations: 327.6 kB / 0.8889 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.7144, allocations: 140.5 kB / 0.8891 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.7146, allocations: 184.2 kB / 0.8893 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.7147, allocations: 101 kB / 0.8893 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.7148, allocations: 180.2 kB / 0.8895 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.7148, allocations: 105 kB / 0.8896 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002466/0.7151, allocations: 221.2 kB / 0.8898 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7151, allocations: 4 kB / 0.8898 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003556/0.7154, allocations: 47.92 kB / 0.8899 GB, free: 6.07 MB / 0.6544 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.0006472/0.7161, allocations: 0.8553 MB / 0.8907 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.7163, allocations: 76.91 kB / 0.8908 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7163, allocations: 4.125 kB / 0.8908 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.7163, allocations: 4 kB / 0.8908 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.7168, allocations: 477.6 kB / 0.8913 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.7199, allocations: 2.514 MB / 0.8937 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.7203, allocations: 0.7359 MB / 0.8944 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.7204, allocations: 36.67 kB / 0.8945 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.7205, allocations: 59.41 kB / 0.8945 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.7205, allocations: 0 / 0.8945 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.7522, allocations: 4.22 MB / 0.8986 GB, free: 13.01 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.5, allocations: 12 kB / 0.8987 GB, free: 13 MB / 0.67 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.852439861977473] Failed to read output from testmodel.py, exit status != 0: 11.598659439012408 11.61390564 10.905112677 Calling exit ...