Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.0009182/0.0009182, allocations: 109.9 kB / 18.93 MB, free: 1.277 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.001135/0.001135, allocations: 217.7 kB / 22.26 MB, free: 3.703 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 1.025/1.025, allocations: 230.6 MB / 256 MB, free: 9.828 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.8239/0.8239, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.00101/0.00101, allocations: 70.52 kB / 0.7183 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5506/0.5516, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1431/0.6947, allocations: 151.6 MB / 0.966 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003617/0.6983, allocations: 4.754 MB / 0.9706 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.6986, allocations: 11.94 kB / 0.9706 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.6992, allocations: 170.8 kB / 0.9708 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.6996, allocations: 83.45 kB / 0.9709 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.6998, allocations: 79.77 kB / 0.971 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.7001, allocations: 310.6 kB / 0.9713 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.7004, allocations: 104.2 kB / 0.9714 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.7005, allocations: 119.5 kB / 0.9715 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.7007, allocations: 159.4 kB / 0.9716 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.7007, allocations: 16 kB / 0.9716 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.165e-05/0.7007, allocations: 16 kB / 0.9716 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.7008, allocations: 71.75 kB / 0.9717 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.423e-05/0.7009, allocations: 99.48 kB / 0.9718 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.7011, allocations: 241.1 kB / 0.972 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7011, allocations: 0 / 0.972 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.255e-06/0.7011, allocations: 0 / 0.972 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.7011, allocations: 0 / 0.972 GB, free: 7.641 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0003638/0.7015, allocations: 417.8 kB / 0.9724 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.7015, allocations: 12.03 kB / 0.9725 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.7015, allocations: 58.72 kB / 0.9725 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.7016, allocations: 24.8 kB / 0.9725 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.7019, allocations: 213.9 kB / 0.9727 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.7019, allocations: 16.81 kB / 0.9728 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.7019, allocations: 20.31 kB / 0.9728 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.7022, allocations: 308.8 kB / 0.9731 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7022, allocations: 7.938 kB / 0.9731 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.7022, allocations: 8 kB / 0.9731 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.7022, allocations: 8 kB / 0.9731 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.7024, allocations: 123.7 kB / 0.9732 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.7033, allocations: 1.931 MB / 0.9751 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.691e-05/0.7033, allocations: 165.1 kB / 0.9752 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.7034, allocations: 84.14 kB / 0.9753 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.7036, allocations: 79.22 kB / 0.9754 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.7037, allocations: 109.8 kB / 0.9755 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.7037, allocations: 0 / 0.9755 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.432e-05/0.7037, allocations: 57.5 kB / 0.9756 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.7038, allocations: 126.7 kB / 0.9757 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.704, allocations: 340.4 kB / 0.976 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.704, allocations: 25.7 kB / 0.976 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.7041, allocations: 159.9 kB / 0.9762 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-06/0.7041, allocations: 7.984 kB / 0.9762 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.7042, allocations: 25.7 kB / 0.9762 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.7043, allocations: 334.8 kB / 0.9765 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.7043, allocations: 4 kB / 0.9765 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.7043, allocations: 58.81 kB / 0.9766 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.629e-05/0.7044, allocations: 74.83 kB / 0.9767 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7044, allocations: 0 / 0.9767 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001425/0.7045, allocations: 105.4 kB / 0.9768 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7045, allocations: 4 kB / 0.9768 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.7046, allocations: 12.19 kB / 0.9768 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.7046, allocations: 4 kB / 0.9768 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.7046, allocations: 19.92 kB / 0.9768 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.7047, allocations: 0 / 0.9768 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.7047, allocations: 27.73 kB / 0.9768 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.7047, allocations: 4 kB / 0.9768 GB, free: 2.375 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 9.825e-05/0.7048, allocations: 213 kB / 0.977 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.7048, allocations: 128.8 kB / 0.9772 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.7049, allocations: 133.9 kB / 0.9773 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.014e-05/0.7049, allocations: 192.1 kB / 0.9775 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.641e-05/0.705, allocations: 176.3 kB / 0.9776 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/0.705, allocations: 176.3 kB / 0.9778 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.7052, allocations: 452.1 kB / 0.9782 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/0.7052, allocations: 105 kB / 0.9783 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.7053, allocations: 104.9 kB / 0.9784 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.603e-05/0.7053, allocations: 176.4 kB / 0.9786 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.7053, allocations: 192.2 kB / 0.9788 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.925e-05/0.7054, allocations: 180.2 kB / 0.979 GB, free: 60 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-05/0.7054, allocations: 180.2 kB / 0.9791 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.7055, allocations: 335.6 kB / 0.9795 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.7056, allocations: 128.8 kB / 0.9796 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.7056, allocations: 192.1 kB / 0.9798 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.7057, allocations: 101 kB / 0.9799 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.7057, allocations: 188.2 kB / 0.98 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.7058, allocations: 105 kB / 0.9801 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001501/0.7059, allocations: 235 kB / 0.9804 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.7059, allocations: 0 / 0.9804 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001712/0.7061, allocations: 31.95 kB / 0.9804 GB, free: 14.53 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.0002897/0.7064, allocations: 0.832 MB / 0.9812 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 8.038e-05/0.7064, allocations: 19.92 kB / 0.9812 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7064, allocations: 0 / 0.9812 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.7064, allocations: 0 / 0.9812 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.7069, allocations: 0.5254 MB / 0.9817 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.7089, allocations: 2.509 MB / 0.9842 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.7091, allocations: 0.7517 MB / 0.9849 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.959e-05/0.7092, allocations: 26.3 kB / 0.9849 GB, free: 9.695 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.7093, allocations: 63.41 kB / 0.985 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.7093, allocations: 0 / 0.985 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.7283, allocations: 4.95 MB / 0.9898 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.531/7.259, allocations: 4.062 kB / 0.9898 GB, free: 4.828 MB / 0.7605 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_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_InletToAirDryAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.444399021100253] Failed to read output from testmodel.py, exit status != 0: 7.3400363579858094 7.352428549 6.649016985 Calling exit ...