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.0007307/0.0007307, 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.0007516/0.0007516, 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.8852/0.8852, allocations: 177.2 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.7223/0.7223, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.723e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4421/0.4421, allocations: 150.4 MB / 0.765 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00548/0.4476, allocations: 5.47 MB / 0.7703 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.4479, allocations: 11.22 kB / 0.7703 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000713/0.4487, allocations: 198.4 kB / 0.7705 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005148/0.4492, allocations: 103.3 kB / 0.7706 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.4511, allocations: 0.532 MB / 0.7711 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005938/0.4517, allocations: 433.3 kB / 0.7716 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.452, allocations: 84.34 kB / 0.7716 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.4523, allocations: 248.1 kB / 0.7719 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.4525, allocations: 129.7 kB / 0.772 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.4525, allocations: 17.66 kB / 0.772 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007003/0.4532, allocations: 387.8 kB / 0.7724 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.4533, allocations: 71.84 kB / 0.7725 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.4534, allocations: 71.62 kB / 0.7725 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006595/0.4541, allocations: 468.4 kB / 0.773 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4541, allocations: 1.125 kB / 0.773 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4541, allocations: 0 / 0.773 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4541, allocations: 0 / 0.773 GB, free: 1.52 MB / 0.6355 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.0005354/0.4546, allocations: 460.3 kB / 0.7734 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4547, allocations: 9.562 kB / 0.7734 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.198e-05/0.4547, allocations: 60.94 kB / 0.7735 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.455, allocations: 50.84 kB / 0.7735 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.4554, allocations: 199.2 kB / 0.7737 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.4555, allocations: 240 kB / 0.7739 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.4555, allocations: 21.84 kB / 0.774 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.4559, allocations: 289.9 kB / 0.7742 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4559, allocations: 4 kB / 0.7742 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.4559, allocations: 15.78 kB / 0.7743 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.4559, allocations: 6.25 kB / 0.7743 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.4561, allocations: 158 kB / 0.7744 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009761/0.4571, allocations: 1.507 MB / 0.7759 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.4572, allocations: 167.1 kB / 0.776 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.4572, allocations: 80.7 kB / 0.7761 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.4572, allocations: 87.2 kB / 0.7762 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4573, allocations: 112.1 kB / 0.7763 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/0.4573, allocations: 5.906 kB / 0.7763 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.085e-05/0.4573, allocations: 41.75 kB / 0.7764 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.4574, allocations: 136.6 kB / 0.7765 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.4577, allocations: 318.6 kB / 0.7768 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.4577, allocations: 25.7 kB / 0.7768 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.4578, allocations: 197.4 kB / 0.777 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-06/0.4578, allocations: 2.609 kB / 0.777 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.4578, allocations: 47.7 kB / 0.7771 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.4579, allocations: 329.8 kB / 0.7774 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.458, allocations: 39.47 kB / 0.7774 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.4581, allocations: 164.7 kB / 0.7776 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.4583, allocations: 193.6 kB / 0.7778 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4583, allocations: 1.812 kB / 0.7778 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002886/0.4585, allocations: 218.3 kB / 0.778 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4586, allocations: 7.781 kB / 0.778 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4586, allocations: 3.938 kB / 0.778 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4586, allocations: 7.312 kB / 0.778 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.4587, allocations: 41.05 kB / 0.778 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4587, allocations: 10.78 kB / 0.778 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-05/0.4588, allocations: 39.42 kB / 0.7781 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.4588, allocations: 10.48 kB / 0.7781 GB, free: 13.09 MB / 0.6511 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.0001004/0.4589, allocations: 219.1 kB / 0.7783 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.459, allocations: 118.8 kB / 0.7784 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.459, allocations: 122.4 kB / 0.7785 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.306e-05/0.4591, allocations: 184.8 kB / 0.7787 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-05/0.4591, allocations: 182.9 kB / 0.7789 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-05/0.4591, allocations: 182 kB / 0.779 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.4594, allocations: 440.5 kB / 0.7795 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/0.4594, allocations: 106.8 kB / 0.7796 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.4594, allocations: 111.4 kB / 0.7797 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.16e-05/0.4595, allocations: 179 kB / 0.7798 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.4595, allocations: 186.1 kB / 0.78 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.962e-05/0.4595, allocations: 176.9 kB / 0.7802 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.432e-05/0.4596, allocations: 187.3 kB / 0.7804 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.4597, allocations: 325.6 kB / 0.7807 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.4598, allocations: 133.8 kB / 0.7808 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.4598, allocations: 179 kB / 0.781 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.4599, allocations: 102.5 kB / 0.7811 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.4599, allocations: 194.5 kB / 0.7813 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.46, allocations: 103.2 kB / 0.7814 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001747/0.4601, allocations: 217.4 kB / 0.7816 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4601, allocations: 0 / 0.7816 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002609/0.4604, allocations: 52.28 kB / 0.7816 GB, free: 9.559 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.0003938/0.4608, allocations: 0.8523 MB / 0.7824 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.4609, allocations: 78.64 kB / 0.7825 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4609, allocations: 1.188 kB / 0.7825 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.4609, allocations: 1.25 kB / 0.7825 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.4613, allocations: 490.2 kB / 0.783 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.4634, allocations: 2.508 MB / 0.7854 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.4635, allocations: 126.2 kB / 0.7856 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.4636, allocations: 35.42 kB / 0.7856 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.4636, allocations: 55.67 kB / 0.7856 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of SimCode: time 8.62e-07/0.4636, allocations: 0 / 0.7856 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.4824, allocations: 4.733 MB / 0.7903 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/7.292, allocations: 2.562 kB / 0.7903 GB, free: 5.035 MB / 0.6511 GB " [Timeout remaining time 653] (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: 10.088326598517597] Failed to read output from testmodel.py, exit status != 0: 7.376921826042235 7.386622552 6.930614059 Calling exit ...