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.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.0009135/0.0009135, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001083/0.001083, allocations: 209.2 kB / 22.24 MB, free: 3.57 MB / 13.93 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 0.9837/0.9837, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7921/0.7921, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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"}) [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.001122/0.001122, allocations: 63.38 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5816/0.5827, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1626/0.7453, allocations: 150.5 MB / 0.9648 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005262/0.7506, allocations: 5.511 MB / 0.9702 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.751, allocations: 11.94 kB / 0.9702 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007211/0.7517, allocations: 194.7 kB / 0.9704 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.752, allocations: 95.38 kB / 0.9705 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.7531, allocations: 0.5256 MB / 0.971 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.7535, allocations: 414.7 kB / 0.9714 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.7537, allocations: 96.12 kB / 0.9715 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.7539, allocations: 191.3 kB / 0.9717 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.7541, allocations: 143.4 kB / 0.9718 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.7541, allocations: 19.94 kB / 0.9718 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.7546, allocations: 386.9 kB / 0.9722 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.7546, allocations: 67.75 kB / 0.9722 GB, free: 7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.7547, allocations: 91.59 kB / 0.9723 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.7551, allocations: 444.6 kB / 0.9728 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7551, allocations: 4 kB / 0.9728 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7551, allocations: 0 / 0.9728 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7552, allocations: 0 / 0.9728 GB, free: 6.473 MB / 0.7448 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.0007524/0.7559, allocations: 461.3 kB / 0.9732 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.756, allocations: 12.03 kB / 0.9732 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.756, allocations: 66.47 kB / 0.9733 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.7562, allocations: 47.8 kB / 0.9733 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.7565, allocations: 200.9 kB / 0.9735 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.7566, allocations: 234.1 kB / 0.9737 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.7567, allocations: 24 kB / 0.9738 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.757, allocations: 297.9 kB / 0.974 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.757, allocations: 3.938 kB / 0.974 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.757, allocations: 12 kB / 0.9741 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.757, allocations: 8 kB / 0.9741 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.7572, allocations: 156.6 kB / 0.9742 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009311/0.7581, allocations: 1.517 MB / 0.9757 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.603e-05/0.7582, allocations: 169.1 kB / 0.9759 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.7582, allocations: 84.12 kB / 0.9759 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.7583, allocations: 75.28 kB / 0.976 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.7583, allocations: 113.8 kB / 0.9761 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.7583, allocations: 4 kB / 0.9761 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.732e-05/0.7584, allocations: 41.61 kB / 0.9762 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.7584, allocations: 126.7 kB / 0.9763 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.7587, allocations: 325.6 kB / 0.9766 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.7587, allocations: 25.7 kB / 0.9766 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.7588, allocations: 191.7 kB / 0.9768 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.7588, allocations: 0 / 0.9768 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.7589, allocations: 53.59 kB / 0.9768 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.759, allocations: 334.8 kB / 0.9772 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.759, allocations: 35.97 kB / 0.9772 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.7591, allocations: 166.5 kB / 0.9774 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.7593, allocations: 192.9 kB / 0.9775 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7593, allocations: 7.938 kB / 0.9776 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002735/0.7596, allocations: 213.1 kB / 0.9778 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.7596, allocations: 7.938 kB / 0.9778 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.7596, allocations: 8 kB / 0.9778 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.7596, allocations: 4.625 kB / 0.9778 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.7597, allocations: 43.92 kB / 0.9778 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.7597, allocations: 11.94 kB / 0.9778 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.811e-05/0.7598, allocations: 31.73 kB / 0.9779 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.7598, allocations: 15.98 kB / 0.9779 GB, free: 0.7891 MB / 0.7448 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.0001036/0.7599, allocations: 217 kB / 0.9781 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.76, allocations: 124.8 kB / 0.9782 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.76, allocations: 121.7 kB / 0.9783 GB, free: 316 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/0.7601, allocations: 180.2 kB / 0.9785 GB, free: 128 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-05/0.7601, allocations: 180.3 kB / 0.9787 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.121e-05/0.7602, allocations: 184.2 kB / 0.9788 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.7604, allocations: 440.4 kB / 0.9793 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/0.7604, allocations: 104.9 kB / 0.9794 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.7604, allocations: 109 kB / 0.9795 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003176/0.7607, allocations: 184.2 kB / 0.9796 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.7608, allocations: 188.2 kB / 0.9798 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.159e-05/0.7608, allocations: 180.3 kB / 0.98 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-05/0.7609, allocations: 180.2 kB / 0.9802 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.761, allocations: 319.7 kB / 0.9805 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.761, allocations: 136.8 kB / 0.9806 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.7611, allocations: 180.2 kB / 0.9808 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.7612, allocations: 108.9 kB / 0.9809 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.7612, allocations: 188.3 kB / 0.981 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.7612, allocations: 105 kB / 0.9811 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001537/0.7614, allocations: 221.1 kB / 0.9814 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.7614, allocations: 0 / 0.9814 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002547/0.7617, allocations: 59.88 kB / 0.9814 GB, free: 12.96 MB / 0.7605 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.0003927/0.762, allocations: 0.858 MB / 0.9823 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.7622, allocations: 75.77 kB / 0.9823 GB, free: 12 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7622, allocations: 1.25 kB / 0.9823 GB, free: 12 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.7622, allocations: 0 / 0.9823 GB, free: 12 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.7626, allocations: 484.2 kB / 0.9828 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.7643, allocations: 2.51 MB / 0.9852 GB, free: 8.82 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.499e-05/0.7644, allocations: 120.9 kB / 0.9854 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.889e-05/0.7645, allocations: 33.94 kB / 0.9854 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.7646, allocations: 59.41 kB / 0.9854 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of SimCode: time 4.51e-07/0.7646, allocations: 0 / 0.9854 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.7821, allocations: 4.604 MB / 0.9899 GB, free: 4.129 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/7.444, allocations: 18.66 kB / 0.99 GB, free: 4.117 MB / 0.7605 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.519537845626473] Failed to read output from testmodel.py, exit status != 0: 7.525873370002955 7.540547647 6.782435788 Calling exit ...