Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.0008211/0.0008211, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 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.0008822/0.0008822, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8869/0.8869, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7128/0.7128, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [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.001076/0.001076, allocations: 73.92 kB / 0.6196 GB, free: 13.08 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5874/0.5885, allocations: 101.9 MB / 0.7192 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001571/0.5901, allocations: 0.6861 MB / 0.7198 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.5912, allocations: 0.8361 MB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.5912, allocations: 1.125 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.5913, allocations: 0.6094 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.5913, allocations: 9.719 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.5915, allocations: 15.86 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.5916, allocations: 38.81 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.5918, allocations: 13.58 kB / 0.7207 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.5919, allocations: 24.59 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.592, allocations: 18.31 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.592, allocations: 4.344 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.947e-05/0.5921, allocations: 7.594 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.5921, allocations: 14.72 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.5921, allocations: 13.34 kB / 0.7208 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.5923, allocations: 46.3 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.5923, allocations: 1.25 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.604e-06/0.5923, allocations: 0 / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.5923, allocations: 0 / 0.7209 GB, free: 22.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005121/0.5928, allocations: 289.2 kB / 0.7211 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5929, allocations: 8.5 kB / 0.7211 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.5929, allocations: 11.86 kB / 0.7212 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.431e-05/0.593, allocations: 106.8 kB / 0.7213 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.593, allocations: 5.406 kB / 0.7213 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.593, allocations: 3.375 kB / 0.7213 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.5932, allocations: 64.48 kB / 0.7213 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.5932, allocations: 1.281 kB / 0.7213 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.5932, allocations: 7.938 kB / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5932, allocations: 1.156 kB / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.5934, allocations: 77.48 kB / 0.7214 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.5937, allocations: 212.1 kB / 0.7216 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.5938, allocations: 50.97 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.738e-05/0.5939, allocations: 40.06 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.594, allocations: 5.719 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.594, allocations: 35.88 kB / 0.7217 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.594, allocations: 0 / 0.7217 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004015/0.5944, allocations: 129.1 kB / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.5944, allocations: 53.11 kB / 0.7219 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/0.5945, allocations: 115.1 kB / 0.722 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.5945, allocations: 25.7 kB / 0.722 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.5945, allocations: 87.89 kB / 0.7221 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.5946, allocations: 13.59 kB / 0.7221 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.5946, allocations: 17.94 kB / 0.7222 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.5946, allocations: 313.9 kB / 0.7225 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.5947, allocations: 31.95 kB / 0.7225 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.705e-05/0.5948, allocations: 31.08 kB / 0.7225 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.595, allocations: 73.88 kB / 0.7226 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.595, allocations: 0 / 0.7226 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002217/0.5952, allocations: 99.72 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.5952, allocations: 5.25 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5952, allocations: 5.172 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.5953, allocations: 0 / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.5954, allocations: 16.12 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5954, allocations: 0 / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.5954, allocations: 20.77 kB / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.5954, allocations: 1.172 kB / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.578e-05/0.5955, allocations: 109.2 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.5955, allocations: 14.53 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.5958, allocations: 112.6 kB / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.5958, allocations: 0.9688 kB / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5958, allocations: 0 / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5958, allocations: 1.453 kB / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.5959, allocations: 108.7 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5959, allocations: 0 / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.596, allocations: 19.66 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.596, allocations: 9.062 kB / 0.7231 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.596, allocations: 0.8438 kB / 0.7231 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.596, allocations: 1.125 kB / 0.7231 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.596, allocations: 0 / 0.7231 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.5963, allocations: 198.8 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.5963, allocations: 6.641 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.5963, allocations: 5.734 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.438e-05/0.5964, allocations: 19 kB / 0.7233 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.5964, allocations: 4.234 kB / 0.7233 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.5964, allocations: 2.25 kB / 0.7233 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.5965, allocations: 87.31 kB / 0.7234 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5965, allocations: 0 / 0.7234 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001512/0.5966, allocations: 6.062 kB / 0.7234 GB, free: 20.34 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 (3): * Single equations (assignments): 3 * 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.0001131/0.5967, allocations: 93.19 kB / 0.7235 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.597, allocations: 70.73 kB / 0.7236 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.597, allocations: 0 / 0.7236 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.757e-05/0.5971, allocations: 38.11 kB / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.5974, allocations: 10.73 kB / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.5977, allocations: 125.1 kB / 0.7237 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.032e-05/0.5977, allocations: 67.72 kB / 0.7238 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.5978, allocations: 2.281 kB / 0.7238 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.5978, allocations: 11.47 kB / 0.7238 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.5978, allocations: 0 / 0.7238 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.002588/0.6004, allocations: 0.7281 MB / 0.7245 GB, free: 19.93 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.30940059106797] Failed to read output from testmodel.py, exit status != 0: 0.6080005919793621 0.6198637060000001 0.025376406 Calling exit ...