Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006461/0.0006461, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007022/0.0007022, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.804/0.804, allocations: 177.1 MB / 203.5 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.673/0.673, allocations: 154.5 MB / 414.5 MB, free: 0.8398 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.563e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001011/0.001027, allocations: 0.6824 MB / 0.62 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000657/0.001684, allocations: 0.8392 MB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.001712, allocations: 0 / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.001736, allocations: 0 / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/0.001786, allocations: 3.938 kB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.805e-05/0.001874, allocations: 15.98 kB / 0.6208 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.001941, allocations: 47.84 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.002027, allocations: 11.98 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.591e-05/0.002093, allocations: 23.92 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.002134, allocations: 15.97 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.002157, allocations: 4 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/0.002165, allocations: 4 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.002181, allocations: 11.94 kB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.0022, allocations: 7.984 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.002406, allocations: 51.8 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.002407, allocations: 0 / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.11e-07/0.002408, allocations: 0 / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.002411, allocations: 7.938 kB / 0.621 GB, free: 11.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003429/0.002754, allocations: 286.2 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.002784, allocations: 9.469 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.002811, allocations: 8.891 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.422e-05/0.002875, allocations: 101.8 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.002885, allocations: 4.375 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.002892, allocations: 384 / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.003036, allocations: 74.22 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.003043, allocations: 4.125 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.003051, allocations: 384 / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.003055, allocations: 384 / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.003188, allocations: 67.86 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.00343, allocations: 212.5 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.003545, allocations: 58.55 kB / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.873e-05/0.003613, allocations: 36.91 kB / 0.6218 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.00363, allocations: 0 / 0.6218 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.003648, allocations: 34.56 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.003648, allocations: 0 / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002827/0.003931, allocations: 133.6 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.003958, allocations: 55.39 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.386e-05/0.004011, allocations: 109.9 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.625e-06/0.004019, allocations: 25.7 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.004055, allocations: 92.02 kB / 0.6223 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.004072, allocations: 11.95 kB / 0.6223 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.004094, allocations: 9.719 kB / 0.6223 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.004165, allocations: 322.8 kB / 0.6226 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.536e-05/0.004231, allocations: 31.97 kB / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.087e-05/0.004292, allocations: 36 kB / 0.6227 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.004415, allocations: 68.72 kB / 0.6227 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004417, allocations: 0 / 0.6227 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001494/0.004566, allocations: 101.6 kB / 0.6228 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.004578, allocations: 15.88 kB / 0.6228 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.004581, allocations: 0 / 0.6228 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.004591, allocations: 0 / 0.6228 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.004657, allocations: 15.98 kB / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.004662, allocations: 4 kB / 0.6229 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.004693, allocations: 11.94 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.004701, allocations: 8 kB / 0.6229 GB, free: 9.328 MB / 0.5886 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 4.47e-05/0.004746, allocations: 110.8 kB / 0.623 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.004758, allocations: 7.984 kB / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.004929, allocations: 105.5 kB / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.00493, allocations: 4 kB / 0.6231 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.004933, allocations: 0 / 0.6231 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.004936, allocations: 0 / 0.6231 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.243e-05/0.005018, allocations: 121.3 kB / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005019, allocations: 0 / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.005054, allocations: 11.98 kB / 0.6232 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.005055, allocations: 0 / 0.6232 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.005062, allocations: 4 kB / 0.6232 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005063, allocations: 3.938 kB / 0.6232 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005064, allocations: 3.938 kB / 0.6232 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.005229, allocations: 199.4 kB / 0.6234 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.005235, allocations: 8 kB / 0.6234 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-06/0.005244, allocations: 0 / 0.6234 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.005292, allocations: 15.92 kB / 0.6235 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.005321, allocations: 3.984 kB / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.005323, allocations: 0 / 0.6235 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.703e-05/0.00535, allocations: 91.27 kB / 0.6235 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00535, allocations: 0 / 0.6235 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000149/0.005499, allocations: 8 kB / 0.6236 GB, free: 8.574 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 (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 8.794e-05/0.005587, allocations: 95.25 kB / 0.6236 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.005781, allocations: 63.92 kB / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005782, allocations: 0 / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.005848, allocations: 35.91 kB / 0.6237 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.006023, allocations: 20.53 kB / 0.6238 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.00625, allocations: 151 kB / 0.6239 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.885e-05/0.006289, allocations: 67.28 kB / 0.624 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.006317, allocations: 12.5 kB / 0.624 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.006318, allocations: 0 / 0.624 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of Templates: time 0.001296/0.007613, allocations: 0.7717 MB / 0.6247 GB, free: 7.309 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.705258343368769] Failed to read output from testmodel.py, exit status != 0: 0.011517341248691082 0.018330120000000002 0.014506152000000001 Calling exit ...