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.0008137/0.0008137, 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.0008447/0.0008447, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8941/0.8941, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7008/0.7008, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.144e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005892/0.005913, allocations: 4.386 MB / 0.6223 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007302/0.006643, allocations: 0.7593 MB / 0.6231 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.006697, allocations: 4 kB / 0.6231 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.006854, allocations: 27.8 kB / 0.6231 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.006897, allocations: 39.62 kB / 0.6231 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.007385, allocations: 175.2 kB / 0.6233 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.007528, allocations: 179.4 kB / 0.6235 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.007614, allocations: 21.28 kB / 0.6235 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.007781, allocations: 103.7 kB / 0.6236 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.00786, allocations: 67.78 kB / 0.6237 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.007882, allocations: 12 kB / 0.6237 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.008099, allocations: 139.7 kB / 0.6238 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.008124, allocations: 31.91 kB / 0.6238 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.008165, allocations: 43.91 kB / 0.6239 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.008429, allocations: 259.2 kB / 0.6241 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.008431, allocations: 4 kB / 0.6241 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.008432, allocations: 0 / 0.6241 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.008438, allocations: 7.984 kB / 0.6241 GB, free: 7.438 MB / 0.5886 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.0005945/0.009033, allocations: 401.5 kB / 0.6245 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.009076, allocations: 13.45 kB / 0.6245 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.009109, allocations: 38.75 kB / 0.6246 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.009144, allocations: 16.84 kB / 0.6246 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.479e-05/0.009238, allocations: 128.9 kB / 0.6247 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.009251, allocations: 8.375 kB / 0.6247 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.009268, allocations: 12.38 kB / 0.6247 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.009482, allocations: 122.1 kB / 0.6249 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.009489, allocations: 4.125 kB / 0.6249 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.009502, allocations: 7.938 kB / 0.6249 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.009506, allocations: 4 kB / 0.6249 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.00973, allocations: 149.7 kB / 0.625 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.01049, allocations: 407.7 kB / 0.6254 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.01067, allocations: 110.5 kB / 0.6255 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.01077, allocations: 65.06 kB / 0.6256 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.01141, allocations: 480 kB / 0.626 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.01143, allocations: 42.5 kB / 0.6261 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.01143, allocations: 0 / 0.6261 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0004018/0.01183, allocations: 213.4 kB / 0.6263 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.01186, allocations: 55.34 kB / 0.6263 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.01197, allocations: 165.3 kB / 0.6265 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.01199, allocations: 29.7 kB / 0.6265 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.01205, allocations: 108.5 kB / 0.6266 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.01207, allocations: 43.66 kB / 0.6267 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.01212, allocations: 53.69 kB / 0.6267 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.01221, allocations: 322.8 kB / 0.627 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.01233, allocations: 71.95 kB / 0.6271 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.01247, allocations: 111.3 kB / 0.6272 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.01271, allocations: 167.4 kB / 0.6273 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01271, allocations: 0 / 0.6273 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003283/0.01304, allocations: 252.7 kB / 0.6276 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01305, allocations: 8.094 kB / 0.6276 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.01306, allocations: 0 / 0.6276 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.01308, allocations: 4 kB / 0.6276 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.01322, allocations: 51.91 kB / 0.6276 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.01323, allocations: 7.922 kB / 0.6277 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/0.0133, allocations: 31.83 kB / 0.6277 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.01332, allocations: 8 kB / 0.6277 GB, free: 3.574 MB / 0.5886 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 7.416e-05/0.01339, allocations: 133.5 kB / 0.6278 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.01341, allocations: 11.95 kB / 0.6278 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.01367, allocations: 175 kB / 0.628 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01368, allocations: 0 / 0.628 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.01368, allocations: 7.938 kB / 0.628 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01369, allocations: 0 / 0.628 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.01383, allocations: 172.7 kB / 0.6282 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01384, allocations: 0 / 0.6282 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-05/0.01391, allocations: 35.97 kB / 0.6282 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01391, allocations: 4 kB / 0.6282 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.01392, allocations: 0 / 0.6282 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01392, allocations: 0 / 0.6282 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01392, allocations: 11.88 kB / 0.6282 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.01416, allocations: 255.3 kB / 0.6285 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.01419, allocations: 19.88 kB / 0.6285 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.01421, allocations: 11.98 kB / 0.6285 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.01428, allocations: 15.97 kB / 0.6285 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.01431, allocations: 15.86 kB / 0.6285 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.01432, allocations: 8 kB / 0.6285 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.674e-05/0.01438, allocations: 120.2 kB / 0.6286 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01438, allocations: 0 / 0.6286 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002237/0.0146, allocations: 63.86 kB / 0.6287 GB, free: 2.465 MB / 0.5886 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.0008611/0.01546, allocations: 0.8441 MB / 0.6295 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.01576, allocations: 167.7 kB / 0.6297 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01576, allocations: 0 / 0.6297 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/0.01585, allocations: 63.83 kB / 0.6298 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.01613, allocations: 23.92 kB / 0.6298 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.01788, allocations: 1.962 MB / 0.6317 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.258e-05/0.01795, allocations: 89.81 kB / 0.6318 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.984e-05/0.01802, allocations: 25.94 kB / 0.6318 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.01809, allocations: 36.48 kB / 0.6318 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.01809, allocations: 0 / 0.6318 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.03686, allocations: 5.084 MB / 0.6368 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/6.779, allocations: 3.25 kB / 0.6368 GB, free: 10.24 MB / 0.6042 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: 9.419681590981781] Failed to read output from testmodel.py, exit status != 0: 6.858447919599712 6.866822813 6.856737223 Calling exit ...