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.0007432/0.0007432, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.000982/0.000982, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9272/0.9272, allocations: 230.6 MB / 256 MB, free: 9.629 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.7924/0.7924, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.001039/0.001039, allocations: 70.98 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5065, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004738/0.5112, allocations: 4.396 MB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007315/0.5119, allocations: 0.7666 MB / 0.8228 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.512, allocations: 3.938 kB / 0.8228 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.5122, allocations: 22.36 kB / 0.8229 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.047e-05/0.5122, allocations: 42.05 kB / 0.8229 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.5126, allocations: 167.5 kB / 0.8231 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.5128, allocations: 180.4 kB / 0.8232 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.5129, allocations: 16.81 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.513, allocations: 87.23 kB / 0.8233 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.5131, allocations: 74.52 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.5131, allocations: 13.03 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.5134, allocations: 139.2 kB / 0.8236 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.5134, allocations: 29.16 kB / 0.8236 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.5135, allocations: 58 kB / 0.8236 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.5138, allocations: 233.3 kB / 0.8239 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5138, allocations: 0 / 0.8239 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.614e-06/0.5138, allocations: 0.7031 kB / 0.8239 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.5138, allocations: 1.094 kB / 0.8239 GB, free: 13.04 MB / 0.6198 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.000647/0.5144, allocations: 410.9 kB / 0.8243 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5145, allocations: 9.188 kB / 0.8243 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.5145, allocations: 47.08 kB / 0.8243 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.5146, allocations: 12.95 kB / 0.8243 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.159e-05/0.5146, allocations: 136.5 kB / 0.8245 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5147, allocations: 9.438 kB / 0.8245 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.5147, allocations: 11.41 kB / 0.8245 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.5149, allocations: 119.5 kB / 0.8246 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5149, allocations: 0.7031 kB / 0.8246 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5149, allocations: 5.312 kB / 0.8246 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5149, allocations: 1.344 kB / 0.8246 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.5152, allocations: 148 kB / 0.8247 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.5159, allocations: 410.1 kB / 0.8251 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.5161, allocations: 121.1 kB / 0.8252 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.5162, allocations: 67.75 kB / 0.8253 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/0.5169, allocations: 474.1 kB / 0.8258 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.5169, allocations: 31.94 kB / 0.8258 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.5169, allocations: 1.219 kB / 0.8258 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004225/0.5173, allocations: 216.5 kB / 0.826 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.5173, allocations: 54.42 kB / 0.826 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.5177, allocations: 171 kB / 0.8262 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.5177, allocations: 31.33 kB / 0.8262 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.5178, allocations: 104.2 kB / 0.8263 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.5178, allocations: 44.03 kB / 0.8264 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.5179, allocations: 50.25 kB / 0.8264 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.5179, allocations: 325.8 kB / 0.8267 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.5181, allocations: 75.77 kB / 0.8268 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.5182, allocations: 115.8 kB / 0.8269 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.5185, allocations: 170 kB / 0.8271 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5185, allocations: 0 / 0.8271 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003321/0.5188, allocations: 248.7 kB / 0.8273 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5188, allocations: 4.344 kB / 0.8273 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5188, allocations: 3.938 kB / 0.8273 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5188, allocations: 2.656 kB / 0.8273 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.519, allocations: 67.11 kB / 0.8274 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.519, allocations: 1.906 kB / 0.8274 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.5191, allocations: 27.78 kB / 0.8274 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.5191, allocations: 6.828 kB / 0.8274 GB, free: 10.54 MB / 0.6198 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.729e-05/0.5192, allocations: 125.1 kB / 0.8275 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.5192, allocations: 12.98 kB / 0.8276 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.5195, allocations: 180.4 kB / 0.8277 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5195, allocations: 1.719 kB / 0.8277 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5195, allocations: 0 / 0.8277 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.5195, allocations: 2.719 kB / 0.8277 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.5197, allocations: 175.5 kB / 0.8279 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5197, allocations: 0 / 0.8279 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.5197, allocations: 32.98 kB / 0.8279 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5198, allocations: 1.094 kB / 0.8279 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5198, allocations: 12.69 kB / 0.828 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.5198, allocations: 5.141 kB / 0.828 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5198, allocations: 3.938 kB / 0.828 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.52, allocations: 258.1 kB / 0.8282 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.5201, allocations: 21.53 kB / 0.8282 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.5201, allocations: 5.938 kB / 0.8282 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.5201, allocations: 19.88 kB / 0.8283 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.5202, allocations: 8.219 kB / 0.8283 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.5202, allocations: 2.688 kB / 0.8283 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.084e-05/0.5203, allocations: 116.3 kB / 0.8284 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5203, allocations: 0 / 0.8284 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002222/0.5205, allocations: 67.73 kB / 0.8284 GB, free: 9.816 MB / 0.6198 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.0005655/0.521, allocations: 0.8467 MB / 0.8293 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.5214, allocations: 165.3 kB / 0.8294 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.5214, allocations: 0 / 0.8294 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.5215, allocations: 63.02 kB / 0.8295 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.5218, allocations: 22.3 kB / 0.8295 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.5236, allocations: 1.962 MB / 0.8314 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.464e-05/0.5236, allocations: 93.28 kB / 0.8315 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.898e-05/0.5237, allocations: 22.09 kB / 0.8315 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.77e-05/0.5238, allocations: 35.31 kB / 0.8316 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5238, allocations: 0.6875 kB / 0.8316 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.5424, allocations: 4.923 MB / 0.8364 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.849/7.392, allocations: 6.734 kB / 0.8364 GB, free: 6.203 MB / 0.6198 GB " [Timeout remaining time 653] (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.273642060812563] Failed to read output from testmodel.py, exit status != 0: 7.470165752340108 7.481350267 6.964849721 Calling exit ...