Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.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.0006821/0.0006821, allocations: 72.5 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.001105/0.001105, 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.8194/0.8194, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6773/0.6773, allocations: 154.5 MB / 414.5 MB, free: 0.8281 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.MultiMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.796e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001056/0.001074, allocations: 0.6432 MB / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001513/0.001225, allocations: 8 kB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.001263, allocations: 3.938 kB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.563e-05/0.001358, allocations: 7.984 kB / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.64e-05/0.001395, allocations: 0 / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.867e-05/0.001483, allocations: 8 kB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.001586, allocations: 43.89 kB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.001692, allocations: 19.92 kB / 0.6201 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.001728, allocations: 23.92 kB / 0.6201 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.61e-05/0.001754, allocations: 11.98 kB / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.001776, allocations: 4 kB / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-06/0.001784, allocations: 0 / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.001812, allocations: 11.92 kB / 0.6201 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.001836, allocations: 12 kB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.533e-05/0.001921, allocations: 51.8 kB / 0.6202 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.001924, allocations: 0 / 0.6202 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.163e-06/0.001925, allocations: 0 / 0.6202 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.001928, allocations: 0 / 0.6202 GB, free: 12.33 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002603/0.002189, allocations: 274.2 kB / 0.6204 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.00222, allocations: 9.469 kB / 0.6204 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.002247, allocations: 8.891 kB / 0.6204 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.002372, allocations: 121.7 kB / 0.6206 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.002382, allocations: 8.312 kB / 0.6206 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.002391, allocations: 8.312 kB / 0.6206 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.002776, allocations: 82.22 kB / 0.6207 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.002784, allocations: 192 / 0.6207 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.002793, allocations: 384 / 0.6207 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.002797, allocations: 4.375 kB / 0.6207 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.213e-05/0.002849, allocations: 51.91 kB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.003161, allocations: 410.9 kB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.941e-05/0.00322, allocations: 165.2 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.003251, allocations: 88.06 kB / 0.6213 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.003269, allocations: 75.28 kB / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.0033, allocations: 117.8 kB / 0.6215 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.003301, allocations: 4 kB / 0.6215 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.097e-05/0.003352, allocations: 25.7 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.003395, allocations: 130.7 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.887e-05/0.003474, allocations: 125.8 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.003482, allocations: 25.7 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.003531, allocations: 96.03 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.003534, allocations: 0 / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.003557, allocations: 17.7 kB / 0.6219 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.003624, allocations: 314.8 kB / 0.6222 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.003637, allocations: 11.98 kB / 0.6222 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-06/0.003647, allocations: 11.94 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.177e-05/0.003679, allocations: 20.84 kB / 0.6223 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00368, allocations: 0 / 0.6223 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.792e-05/0.003768, allocations: 49.64 kB / 0.6223 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.003781, allocations: 6.031 kB / 0.6223 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.003784, allocations: 0 / 0.6223 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.003795, allocations: 4 kB / 0.6223 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.00384, allocations: 0 / 0.6223 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.003844, allocations: 0 / 0.6223 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.003859, allocations: 11.97 kB / 0.6223 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.003866, allocations: 4.094 kB / 0.6223 GB, free: 9.914 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 (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 6.282e-05/0.003929, allocations: 198 kB / 0.6225 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.003962, allocations: 112.9 kB / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.003994, allocations: 104.5 kB / 0.6227 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/0.004031, allocations: 184.2 kB / 0.6229 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.723e-05/0.004069, allocations: 176.3 kB / 0.6231 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-05/0.004105, allocations: 180.2 kB / 0.6233 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.004237, allocations: 376.7 kB / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/0.00426, allocations: 109 kB / 0.6237 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.004284, allocations: 104.9 kB / 0.6238 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.631e-05/0.00432, allocations: 184.3 kB / 0.624 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.00436, allocations: 184.4 kB / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.794e-05/0.004398, allocations: 192.2 kB / 0.6244 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.59e-05/0.004434, allocations: 180.3 kB / 0.6245 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.098e-05/0.004515, allocations: 303.7 kB / 0.6248 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.004543, allocations: 116.9 kB / 0.6249 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.004586, allocations: 180.3 kB / 0.6251 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.004631, allocations: 101 kB / 0.6252 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.004673, allocations: 184.2 kB / 0.6254 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.004694, allocations: 101 kB / 0.6255 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.078e-05/0.004735, allocations: 103.6 kB / 0.6256 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004735, allocations: 4 kB / 0.6256 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001322/0.004867, allocations: 7.938 kB / 0.6256 GB, free: 6.41 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 (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 7.935e-05/0.004946, allocations: 170.5 kB / 0.6257 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.56e-05/0.005002, allocations: 11.92 kB / 0.6258 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.005003, allocations: 0 / 0.6258 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.005004, allocations: 0 / 0.6258 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.00527, allocations: 463.9 kB / 0.6262 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.005473, allocations: 225.9 kB / 0.6264 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.738e-05/0.00552, allocations: 87.38 kB / 0.6265 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.005542, allocations: 8.5 kB / 0.6265 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.005542, allocations: 0 / 0.6265 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of Templates: time 0.001245/0.006787, allocations: 0.6568 MB / 0.6271 GB, free: 4.742 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.807547950185835] Failed to read output from testmodel.py, exit status != 0: 0.010888315737247467 0.018228960000000002 0.014893739000000001 Calling exit ...