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.001495/0.001495, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001831/0.001831, allocations: 216.7 kB / 22.25 MB, free: 4.855 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.789 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.8173/0.8173, allocations: 134 MB / 446.4 MB, free: 9.918 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.001963/0.001963, allocations: 66.03 kB / 0.6185 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.163, allocations: 85.92 MB / 0.7024 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5071/0.6701, allocations: 150.5 MB / 0.8494 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006361/0.6765, allocations: 5.519 MB / 0.8548 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.6767, allocations: 11.94 kB / 0.8548 GB, free: 7.117 MB / 0.6231 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.0006514/0.6773, allocations: 190.7 kB / 0.855 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.6776, allocations: 95.38 kB / 0.8551 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.6788, allocations: 0.5177 MB / 0.8556 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.6793, allocations: 418.5 kB / 0.856 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.6795, allocations: 95.58 kB / 0.856 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.6798, allocations: 199.2 kB / 0.8562 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.68, allocations: 143.4 kB / 0.8564 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.6801, allocations: 16 kB / 0.8564 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006149/0.6807, allocations: 374.9 kB / 0.8567 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.6808, allocations: 75.69 kB / 0.8568 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.6809, allocations: 83.61 kB / 0.8569 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.6814, allocations: 458.3 kB / 0.8573 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6815, allocations: 0 / 0.8573 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6815, allocations: 0 / 0.8573 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.6815, allocations: 0 / 0.8573 GB, free: 4.488 MB / 0.6231 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.0005896/0.682, allocations: 457.3 kB / 0.8578 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.6821, allocations: 12.03 kB / 0.8578 GB, free: 4 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.553e-05/0.6822, allocations: 66.47 kB / 0.8578 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.6824, allocations: 47.8 kB / 0.8579 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.6828, allocations: 200.8 kB / 0.8581 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.683, allocations: 238.1 kB / 0.8583 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.683, allocations: 27.94 kB / 0.8583 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.6834, allocations: 286 kB / 0.8586 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.6834, allocations: 3.984 kB / 0.8586 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.6835, allocations: 15.94 kB / 0.8586 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.6835, allocations: 4 kB / 0.8586 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.6838, allocations: 160.6 kB / 0.8588 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.6851, allocations: 1.521 MB / 0.8603 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.6852, allocations: 169.1 kB / 0.8604 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.6853, allocations: 80.14 kB / 0.8605 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.6853, allocations: 79.22 kB / 0.8606 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.6854, allocations: 113.8 kB / 0.8607 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.6854, allocations: 0 / 0.8607 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 8.278e-05/0.6854, allocations: 41.61 kB / 0.8607 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.6855, allocations: 126.7 kB / 0.8609 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.6859, allocations: 325.7 kB / 0.8612 GB, free: 284 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.6859, allocations: 25.7 kB / 0.8612 GB, free: 252 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.686, allocations: 199.6 kB / 0.8614 GB, free: 48 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.686, allocations: 0 / 0.8614 GB, free: 48 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.6861, allocations: 45.66 kB / 0.8614 GB, free: 16 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6862, allocations: 330.8 kB / 0.8617 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.6863, allocations: 35.98 kB / 0.8618 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.6865, allocations: 166.9 kB / 0.8619 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.6867, allocations: 196.9 kB / 0.8621 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6867, allocations: 4 kB / 0.8621 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003992/0.6871, allocations: 221.2 kB / 0.8623 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.6872, allocations: 4 kB / 0.8623 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6872, allocations: 8 kB / 0.8623 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.6872, allocations: 4 kB / 0.8624 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.6873, allocations: 35.92 kB / 0.8624 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.6873, allocations: 8 kB / 0.8624 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.6875, allocations: 35.73 kB / 0.8624 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.6875, allocations: 8.406 kB / 0.8624 GB, free: 14.82 MB / 0.6387 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.000151/0.6877, allocations: 225 kB / 0.8627 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.33e-05/0.6878, allocations: 128.8 kB / 0.8628 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.6878, allocations: 121.8 kB / 0.8629 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.438e-05/0.6879, allocations: 180.2 kB / 0.8631 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.881e-05/0.688, allocations: 188.2 kB / 0.8632 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.572e-05/0.6881, allocations: 181.1 kB / 0.8634 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.6884, allocations: 448.1 kB / 0.8638 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-05/0.6884, allocations: 104.9 kB / 0.8639 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.6885, allocations: 108.9 kB / 0.864 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.448e-05/0.6885, allocations: 176.3 kB / 0.8642 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/0.6886, allocations: 180.3 kB / 0.8644 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.932e-05/0.6887, allocations: 196.1 kB / 0.8646 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.015e-05/0.6888, allocations: 176.3 kB / 0.8647 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.6889, allocations: 319.6 kB / 0.865 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.689, allocations: 136.8 kB / 0.8652 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/0.6891, allocations: 180.2 kB / 0.8653 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.6892, allocations: 105 kB / 0.8654 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.6893, allocations: 184.2 kB / 0.8656 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-05/0.6894, allocations: 105 kB / 0.8657 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002407/0.6896, allocations: 221.2 kB / 0.8659 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6896, allocations: 4 kB / 0.8659 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003637/0.69, allocations: 51.89 kB / 0.866 GB, free: 10.99 MB / 0.6387 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.0006802/0.6907, allocations: 0.8553 MB / 0.8668 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.6909, allocations: 83.77 kB / 0.8669 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6909, allocations: 0 / 0.8669 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.6909, allocations: 0 / 0.8669 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.6914, allocations: 482.4 kB / 0.8674 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.6941, allocations: 2.499 MB / 0.8698 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.6942, allocations: 132.9 kB / 0.8699 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.6943, allocations: 36.45 kB / 0.87 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/0.6944, allocations: 51.42 kB / 0.87 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of SimCode: time 3.9e-07/0.6944, allocations: 0 / 0.87 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.7235, allocations: 4.606 MB / 0.8745 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.4, allocations: 9.891 kB / 0.8745 GB, free: 2.184 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.874297387897968] Failed to read output from testmodel.py, exit status != 0: 11.502298428211361 11.530837999 10.844480875 Calling exit ...