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.0008247/0.0008247, allocations: 109.9 kB / 18.94 MB, free: 1.262 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.0008568/0.0008568, allocations: 214.3 kB / 22.26 MB, free: 3.848 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.9159/0.9159, allocations: 230.6 MB / 256 MB, free: 3.566 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.7666/0.7666, allocations: 203.8 MB / 0.5042 GB, free: 0.7422 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.0009481/0.0009481, allocations: 63.89 kB / 0.7183 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5162/0.5171, allocations: 102 MB / 0.8179 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006573/0.5237, allocations: 4.677 MB / 0.8224 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009171/0.5246, allocations: 0.8233 MB / 0.8232 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.5247, allocations: 0.6875 kB / 0.8232 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.5249, allocations: 29.38 kB / 0.8233 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.867e-05/0.525, allocations: 40.28 kB / 0.8233 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000745/0.5258, allocations: 168.4 kB / 0.8235 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.526, allocations: 185.2 kB / 0.8236 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.5261, allocations: 21.48 kB / 0.8237 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.5263, allocations: 82.77 kB / 0.8237 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.5264, allocations: 78.86 kB / 0.8238 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.5265, allocations: 16.78 kB / 0.8238 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.5269, allocations: 161.1 kB / 0.824 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.527, allocations: 31.89 kB / 0.824 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.371e-05/0.527, allocations: 63.34 kB / 0.8241 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.5275, allocations: 245.7 kB / 0.8243 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5275, allocations: 0 / 0.8243 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5275, allocations: 0 / 0.8243 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.5275, allocations: 0 / 0.8243 GB, free: 20.6 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.0007156/0.5282, allocations: 411.3 kB / 0.8247 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.5283, allocations: 14.84 kB / 0.8247 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.5283, allocations: 42.97 kB / 0.8248 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.5284, allocations: 16.38 kB / 0.8248 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.501e-05/0.5285, allocations: 123.2 kB / 0.8249 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.5285, allocations: 8.781 kB / 0.8249 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.5285, allocations: 15.31 kB / 0.8249 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.5288, allocations: 119.9 kB / 0.825 GB, free: 20 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5288, allocations: 0 / 0.825 GB, free: 20 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.5288, allocations: 5.891 kB / 0.825 GB, free: 20 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5288, allocations: 1.219 kB / 0.825 GB, free: 20 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.529, allocations: 144.2 kB / 0.8252 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/0.5297, allocations: 436.9 kB / 0.8256 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.53, allocations: 118.2 kB / 0.8257 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.5301, allocations: 64.27 kB / 0.8258 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007573/0.5308, allocations: 493.5 kB / 0.8262 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5308, allocations: 39.75 kB / 0.8263 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.084e-06/0.5308, allocations: 1.156 kB / 0.8263 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0004542/0.5313, allocations: 216.4 kB / 0.8265 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.5313, allocations: 56.47 kB / 0.8265 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.5314, allocations: 166.4 kB / 0.8267 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.5315, allocations: 31.39 kB / 0.8267 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.5315, allocations: 105.4 kB / 0.8268 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.5315, allocations: 51.44 kB / 0.8269 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.5316, allocations: 53.44 kB / 0.8269 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.5316, allocations: 322.6 kB / 0.8272 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.5318, allocations: 78.44 kB / 0.8273 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.5319, allocations: 106 kB / 0.8274 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.5322, allocations: 176 kB / 0.8276 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5322, allocations: 0 / 0.8276 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003794/0.5326, allocations: 242.2 kB / 0.8278 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.5326, allocations: 9.312 kB / 0.8278 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5326, allocations: 5.906 kB / 0.8278 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5326, allocations: 5.5 kB / 0.8278 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.5328, allocations: 55 kB / 0.8279 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.5328, allocations: 2.469 kB / 0.8279 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.5329, allocations: 28.16 kB / 0.8279 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.5329, allocations: 19.33 kB / 0.8279 GB, free: 18.1 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 6.864e-05/0.533, allocations: 132.4 kB / 0.8281 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.533, allocations: 13.31 kB / 0.8281 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.5333, allocations: 173.3 kB / 0.8282 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5333, allocations: 1.531 kB / 0.8282 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5333, allocations: 0 / 0.8282 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5333, allocations: 0.5156 kB / 0.8282 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.5335, allocations: 186 kB / 0.8284 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5335, allocations: 5.375 kB / 0.8284 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/0.5336, allocations: 32.52 kB / 0.8285 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5336, allocations: 0 / 0.8285 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.5336, allocations: 9.969 kB / 0.8285 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5336, allocations: 5.219 kB / 0.8285 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5336, allocations: 0.6562 kB / 0.8285 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.5339, allocations: 248.7 kB / 0.8287 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.5339, allocations: 22.42 kB / 0.8287 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5339, allocations: 9.094 kB / 0.8287 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.534, allocations: 12.12 kB / 0.8287 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.5341, allocations: 16.47 kB / 0.8288 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.5341, allocations: 2.188 kB / 0.8288 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.072e-05/0.5341, allocations: 120.6 kB / 0.8289 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5341, allocations: 0 / 0.8289 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003246/0.5345, allocations: 67.3 kB / 0.8289 GB, free: 17.38 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.0006058/0.5351, allocations: 0.8413 MB / 0.8298 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003969/0.5355, allocations: 173 kB / 0.8299 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5355, allocations: 0 / 0.8299 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.5356, allocations: 61.33 kB / 0.83 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.5359, allocations: 19.81 kB / 0.83 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.5378, allocations: 1.961 MB / 0.8319 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.5379, allocations: 0.7026 MB / 0.8326 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.876e-05/0.538, allocations: 19.62 kB / 0.8326 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.538, allocations: 34.92 kB / 0.8327 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of SimCode: time 2.093e-06/0.538, allocations: 0 / 0.8327 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.5617, allocations: 4.44 MB / 0.837 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/7.439, allocations: 16.95 kB / 0.837 GB, free: 13.74 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 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.328537955880165] Failed to read output from testmodel.py, exit status != 0: 7.5197329458314925 7.53410785 7.003849299 Calling exit ...