Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001084/0.001084, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000941/0.000941, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8826/0.8826, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7167/0.7167, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.952e-05, allocations: 9.562 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4317/0.4317, allocations: 153.6 MB / 0.7681 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006053/0.4378, allocations: 8.597 MB / 0.7765 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003031/0.4381, allocations: 14.41 kB / 0.7765 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0005238/0.4386, allocations: 199.2 kB / 0.7767 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.4388, allocations: 105.8 kB / 0.7768 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.439, allocations: 66.5 kB / 0.7769 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.4393, allocations: 343 kB / 0.7772 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.4396, allocations: 130.9 kB / 0.7773 GB, free: 14 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.44, allocations: 234.8 kB / 0.7776 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.4401, allocations: 93.02 kB / 0.7776 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.4401, allocations: 21.41 kB / 0.7777 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 2.468e-05/0.4402, allocations: 21.56 kB / 0.7777 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 7.688e-05/0.4402, allocations: 76.19 kB / 0.7778 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.4403, allocations: 86.94 kB / 0.7778 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.4406, allocations: 293.6 kB / 0.7781 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4406, allocations: 0 / 0.7781 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.664e-06/0.4406, allocations: 0 / 0.7781 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4406, allocations: 0 / 0.7781 GB, free: 13.67 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004023/0.441, allocations: 452.4 kB / 0.7786 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4411, allocations: 13.28 kB / 0.7786 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.4411, allocations: 62.66 kB / 0.7786 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.4411, allocations: 35 kB / 0.7787 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.4415, allocations: 215 kB / 0.7789 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.4415, allocations: 19.88 kB / 0.7789 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.4415, allocations: 32.78 kB / 0.7789 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.4419, allocations: 322.2 kB / 0.7792 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4419, allocations: 0 / 0.7792 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.4419, allocations: 12.52 kB / 0.7792 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.4419, allocations: 7.938 kB / 0.7792 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.4421, allocations: 148 kB / 0.7794 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009746/0.443, allocations: 1.727 MB / 0.7811 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.263e-05/0.4431, allocations: 166.9 kB / 0.7812 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.473e-05/0.4431, allocations: 81.27 kB / 0.7813 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.4432, allocations: 75.28 kB / 0.7814 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.4433, allocations: 112.9 kB / 0.7815 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4433, allocations: 0 / 0.7815 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 8.045e-05/0.4434, allocations: 71.86 kB / 0.7816 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.4434, allocations: 126.7 kB / 0.7817 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.4438, allocations: 377.5 kB / 0.782 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.4438, allocations: 25.7 kB / 0.7821 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.4439, allocations: 173.4 kB / 0.7822 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.4439, allocations: 0 / 0.7822 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.4439, allocations: 15.41 kB / 0.7822 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.444, allocations: 337.9 kB / 0.7826 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.444, allocations: 9.031 kB / 0.7826 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.444, allocations: 37.86 kB / 0.7826 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.4441, allocations: 45.33 kB / 0.7827 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4441, allocations: 0 / 0.7827 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001191/0.4442, allocations: 88.27 kB / 0.7827 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4442, allocations: 9.016 kB / 0.7827 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4442, allocations: 10.06 kB / 0.7828 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4442, allocations: 1.219 kB / 0.7828 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.946e-05/0.4443, allocations: 10.14 kB / 0.7828 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4443, allocations: 5.281 kB / 0.7828 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.4443, allocations: 27.67 kB / 0.7828 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.4444, allocations: 2.219 kB / 0.7828 GB, free: 9.617 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.681e-05/0.4444, allocations: 211.9 kB / 0.783 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.4445, allocations: 136.8 kB / 0.7831 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.4446, allocations: 135.7 kB / 0.7833 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-05/0.4446, allocations: 184 kB / 0.7834 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-05/0.4446, allocations: 177.4 kB / 0.7836 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.821e-05/0.4447, allocations: 186.5 kB / 0.7838 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.4449, allocations: 448.8 kB / 0.7842 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/0.4449, allocations: 104.9 kB / 0.7843 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.4449, allocations: 104.9 kB / 0.7844 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.934e-05/0.445, allocations: 182.8 kB / 0.7846 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.445, allocations: 181.6 kB / 0.7848 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-05/0.445, allocations: 177.3 kB / 0.7849 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-05/0.4451, allocations: 188.3 kB / 0.7851 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.4452, allocations: 328 kB / 0.7854 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.4452, allocations: 140.7 kB / 0.7856 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.4453, allocations: 186.2 kB / 0.7857 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.4454, allocations: 106.1 kB / 0.7858 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.4454, allocations: 181.3 kB / 0.786 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.4454, allocations: 106.8 kB / 0.7861 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002091/0.4456, allocations: 268.3 kB / 0.7864 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4456, allocations: 0 / 0.7864 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001789/0.4458, allocations: 35.8 kB / 0.7864 GB, free: 6.043 MB / 0.6511 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.0002814/0.4461, allocations: 0.8193 MB / 0.7872 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.4462, allocations: 26.75 kB / 0.7872 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4462, allocations: 0 / 0.7872 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.4462, allocations: 1.062 kB / 0.7872 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.4467, allocations: 0.5459 MB / 0.7878 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.449, allocations: 2.718 MB / 0.7904 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.514e-05/0.4491, allocations: 140.1 kB / 0.7905 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.4492, allocations: 33.06 kB / 0.7906 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.4493, allocations: 82.02 kB / 0.7907 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/0.4493, allocations: 0 / 0.7907 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.4711, allocations: 6.992 MB / 0.7975 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.8, allocations: 7.406 kB / 0.7975 GB, free: 1.41 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_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_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.540886196307838] Failed to read output from testmodel.py, exit status != 0: 7.883916740305722 7.89565551 7.452131507 Calling exit ...