Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.000787/0.000787, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007868/0.0007868, allocations: 218.6 kB / 22.25 MB, free: 3.855 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.979/0.979, allocations: 230.6 MB / 256 MB, free: 3.434 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.753/0.753, allocations: 203.8 MB / 0.5042 GB, free: 0.6875 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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.0009339/0.0009339, allocations: 63.89 kB / 0.7182 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.513/0.5139, allocations: 102 MB / 0.8179 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00484/0.5187, allocations: 4.678 MB / 0.8224 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.5195, allocations: 0.8198 MB / 0.8232 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.5195, allocations: 0.6875 kB / 0.8232 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.5197, allocations: 38 kB / 0.8233 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.687e-05/0.5197, allocations: 28.47 kB / 0.8233 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.5201, allocations: 180 kB / 0.8235 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.5203, allocations: 184.8 kB / 0.8237 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.812e-05/0.5204, allocations: 19.94 kB / 0.8237 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.5206, allocations: 80.41 kB / 0.8238 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.5206, allocations: 78.25 kB / 0.8238 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.4e-05/0.5207, allocations: 12.75 kB / 0.8238 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.5209, allocations: 168.5 kB / 0.824 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.521, allocations: 31.58 kB / 0.824 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.521, allocations: 67.22 kB / 0.8241 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.5214, allocations: 236.5 kB / 0.8243 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5214, allocations: 1.156 kB / 0.8243 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5214, allocations: 0.5312 kB / 0.8243 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5214, allocations: 3.875 kB / 0.8243 GB, free: 20.42 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006238/0.5221, allocations: 406.8 kB / 0.8247 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5221, allocations: 16.2 kB / 0.8247 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.5221, allocations: 37.61 kB / 0.8248 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.5222, allocations: 20.31 kB / 0.8248 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.906e-05/0.5222, allocations: 126.9 kB / 0.8249 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.5223, allocations: 9.5 kB / 0.8249 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.5223, allocations: 11.62 kB / 0.8249 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.5225, allocations: 119.1 kB / 0.825 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5225, allocations: 1.031 kB / 0.825 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5225, allocations: 5.125 kB / 0.825 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5225, allocations: 1.125 kB / 0.825 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.5228, allocations: 144.6 kB / 0.8252 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.5234, allocations: 445 kB / 0.8256 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.5236, allocations: 110 kB / 0.8257 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.5237, allocations: 63.36 kB / 0.8258 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/0.5243, allocations: 498.1 kB / 0.8262 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.5244, allocations: 32.94 kB / 0.8263 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.5244, allocations: 0 / 0.8263 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0004063/0.5248, allocations: 221.1 kB / 0.8265 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.5248, allocations: 52.78 kB / 0.8265 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.5249, allocations: 171.7 kB / 0.8267 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.5249, allocations: 29.7 kB / 0.8267 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.5249, allocations: 104.9 kB / 0.8268 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.525, allocations: 47.53 kB / 0.8269 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.525, allocations: 49.73 kB / 0.8269 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.525, allocations: 325.5 kB / 0.8272 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.5252, allocations: 76.14 kB / 0.8273 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.5253, allocations: 108.1 kB / 0.8274 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.5256, allocations: 172.9 kB / 0.8276 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5256, allocations: 1.094 kB / 0.8276 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003575/0.5259, allocations: 249.4 kB / 0.8278 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.526, allocations: 7.844 kB / 0.8278 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.526, allocations: 4.5 kB / 0.8278 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.526, allocations: 6.156 kB / 0.8278 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.5261, allocations: 54.7 kB / 0.8279 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5261, allocations: 7.203 kB / 0.8279 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.5262, allocations: 31.28 kB / 0.8279 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.5262, allocations: 11.39 kB / 0.8279 GB, free: 17.92 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 5.623e-05/0.5263, allocations: 120.7 kB / 0.828 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.5263, allocations: 13.19 kB / 0.8281 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.5266, allocations: 180.6 kB / 0.8282 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5266, allocations: 5.094 kB / 0.8282 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5266, allocations: 4 kB / 0.8282 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5266, allocations: 1.922 kB / 0.8282 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.5267, allocations: 189.5 kB / 0.8284 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5267, allocations: 0.6562 kB / 0.8284 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.5268, allocations: 28.94 kB / 0.8285 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.5268, allocations: 1.219 kB / 0.8285 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.5268, allocations: 5.703 kB / 0.8285 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5268, allocations: 3.938 kB / 0.8285 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5268, allocations: 1.094 kB / 0.8285 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.5271, allocations: 257.2 kB / 0.8287 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.5271, allocations: 21.77 kB / 0.8287 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.5272, allocations: 9.75 kB / 0.8287 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.5272, allocations: 16.19 kB / 0.8288 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.5273, allocations: 12.3 kB / 0.8288 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.5273, allocations: 2.891 kB / 0.8288 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.5273, allocations: 116.8 kB / 0.8289 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5273, allocations: 0 / 0.8289 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002309/0.5276, allocations: 65.34 kB / 0.8289 GB, free: 17.2 MB / 0.6355 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 (12): * Single equations (assignments): 12 * 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.000509/0.5281, allocations: 0.8512 MB / 0.8298 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.5284, allocations: 157.3 kB / 0.8299 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5284, allocations: 1.594 kB / 0.8299 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.5285, allocations: 63.39 kB / 0.83 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.5287, allocations: 31.19 kB / 0.83 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.5304, allocations: 1.96 MB / 0.8319 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.5306, allocations: 0.707 MB / 0.8326 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.345e-05/0.5307, allocations: 20.8 kB / 0.8326 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.5307, allocations: 34.69 kB / 0.8327 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.5307, allocations: 0 / 0.8327 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.5506, allocations: 4.433 MB / 0.837 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.539, allocations: 17.06 kB / 0.837 GB, free: 13.56 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.538420418044552] Failed to read output from testmodel.py, exit status != 0: 7.619899725075811 7.635599202 7.10981944 Calling exit ...