Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001259/0.001259, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001388/0.001388, allocations: 167.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.477/1.477, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.206/1.206, allocations: 154.6 MB / 413.7 MB, free: 5.293 MB / 382.1 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 178] 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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.223e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001785/0.001818, allocations: 0.6397 MB / 0.6192 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001551/0.001973, allocations: 15.97 kB / 0.6192 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.002024, allocations: 7.875 kB / 0.6192 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.644e-05/0.00212, allocations: 0 / 0.6192 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.002162, allocations: 0 / 0.6192 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.329e-05/0.002235, allocations: 15.94 kB / 0.6192 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.142e-05/0.002316, allocations: 23.86 kB / 0.6193 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.002455, allocations: 31.92 kB / 0.6193 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.002496, allocations: 15.97 kB / 0.6193 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.189e-05/0.002528, allocations: 15.98 kB / 0.6193 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.002553, allocations: 0 / 0.6193 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.002567, allocations: 4 kB / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.002598, allocations: 11.94 kB / 0.6193 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.002638, allocations: 11.92 kB / 0.6194 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.00274, allocations: 43.92 kB / 0.6194 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.002742, allocations: 3.938 kB / 0.6194 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002743, allocations: 4 kB / 0.6194 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.00275, allocations: 0 / 0.6194 GB, free: 3.738 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003656/0.003116, allocations: 274.2 kB / 0.6197 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.003156, allocations: 9.469 kB / 0.6197 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.003188, allocations: 12.89 kB / 0.6197 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.003363, allocations: 121.7 kB / 0.6198 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.003375, allocations: 8.312 kB / 0.6198 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.003391, allocations: 4.375 kB / 0.6198 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.003551, allocations: 78.22 kB / 0.6199 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.00356, allocations: 192 / 0.6199 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.00357, allocations: 4.375 kB / 0.6199 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.003576, allocations: 4.375 kB / 0.6199 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.003659, allocations: 51.91 kB / 0.6199 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.004143, allocations: 414.8 kB / 0.6203 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.004263, allocations: 173.1 kB / 0.6205 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.004305, allocations: 80.14 kB / 0.6206 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.004349, allocations: 75.28 kB / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.004403, allocations: 113.8 kB / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.004404, allocations: 0 / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.299e-05/0.004477, allocations: 29.69 kB / 0.6208 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.004557, allocations: 126.7 kB / 0.6209 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.004689, allocations: 129.8 kB / 0.621 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.004716, allocations: 25.7 kB / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.821e-05/0.004804, allocations: 104 kB / 0.6212 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.004807, allocations: 0 / 0.6212 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.004841, allocations: 13.72 kB / 0.6212 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.004994, allocations: 322.8 kB / 0.6215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.005012, allocations: 4 kB / 0.6215 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.005032, allocations: 19.86 kB / 0.6215 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.005072, allocations: 8.859 kB / 0.6215 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005074, allocations: 4.062 kB / 0.6215 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001187/0.005192, allocations: 57.62 kB / 0.6216 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.005206, allocations: 4 kB / 0.6216 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.00521, allocations: 0 / 0.6216 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.005224, allocations: 0 / 0.6216 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.005279, allocations: 4 kB / 0.6216 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.005283, allocations: 0 / 0.6216 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.005304, allocations: 4 kB / 0.6216 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.005313, allocations: 0 / 0.6216 GB, free: 1.324 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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 0.0001342/0.005447, allocations: 202 kB / 0.6218 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.005519, allocations: 109 kB / 0.6219 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.572e-05/0.005595, allocations: 112.4 kB / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-05/0.005675, allocations: 184.2 kB / 0.6222 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001022/0.005777, allocations: 180.3 kB / 0.6223 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.674e-05/0.005874, allocations: 176.4 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.006192, allocations: 376.7 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.283e-05/0.006245, allocations: 109 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.006308, allocations: 109.1 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.314e-05/0.006402, allocations: 176.3 kB / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.677e-05/0.006498, allocations: 184.3 kB / 0.6234 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.222e-05/0.006591, allocations: 180.2 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.442e-05/0.006685, allocations: 188.2 kB / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.006862, allocations: 311.7 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.006926, allocations: 108.9 kB / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.007027, allocations: 188.2 kB / 0.6243 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.007128, allocations: 101 kB / 0.6244 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.007231, allocations: 184.2 kB / 0.6246 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.007282, allocations: 101 kB / 0.6247 GB, free: 13.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.266e-05/0.007355, allocations: 99.27 kB / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.007355, allocations: 0 / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002209/0.007576, allocations: 4 kB / 0.6248 GB, free: 13.82 MB / 0.545 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 (0): * Single equations (assignments): 0 * 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.0001797/0.007756, allocations: 178.5 kB / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.838e-05/0.007824, allocations: 15.94 kB / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.007826, allocations: 0 / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.007827, allocations: 0 / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.008342, allocations: 462.3 kB / 0.6254 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.008681, allocations: 204.1 kB / 0.6256 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.348e-05/0.008764, allocations: 75.34 kB / 0.6257 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.008787, allocations: 4 kB / 0.6257 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.008816, allocations: 16.5 kB / 0.6257 GB, free: 12.83 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.008817, allocations: 0 / 0.6257 GB, free: 12.83 MB / 0.545 GB Notification: Performance of Templates: time 0.002742/0.01156, allocations: 301.4 kB / 0.626 GB, free: 12.54 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.717614635825157] Failed to read output from testmodel.py, exit status != 0: 0.020245403051376343 0.034153319 0.028491871000000002 Calling exit ...