Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.0007535/0.0007535, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0008735/0.0008735, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8496/0.8496, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.6664/0.6664, allocations: 154.5 MB / 414.5 MB, free: 0.832 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.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.146e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001324/0.001355, allocations: 0.6591 MB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.002139, allocations: 0.8276 MB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.002176, allocations: 0 / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.002202, allocations: 7.984 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.00226, allocations: 11.88 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.002467, allocations: 8 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.002587, allocations: 19.92 kB / 0.6208 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.0027, allocations: 4 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.002774, allocations: 15.98 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.353e-05/0.002807, allocations: 7.984 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.002825, allocations: 7.984 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.51e-05/0.00287, allocations: 11.94 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.002883, allocations: 0 / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.002903, allocations: 7.938 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.003005, allocations: 23.95 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.003007, allocations: 0 / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.984e-06/0.003009, allocations: 0 / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.003013, allocations: 0 / 0.6209 GB, free: 11.52 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003397/0.003353, allocations: 262.4 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.003395, allocations: 9.469 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/0.003467, allocations: 8.891 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.477e-05/0.003552, allocations: 113.7 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.003562, allocations: 384 / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.00357, allocations: 4.375 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.003701, allocations: 54.17 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003708, allocations: 192 / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.003718, allocations: 4.359 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.003723, allocations: 384 / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.608e-05/0.003809, allocations: 43.89 kB / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.004061, allocations: 188.6 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.761e-05/0.004139, allocations: 42.53 kB / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.004182, allocations: 24.84 kB / 0.6216 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.004199, allocations: 0 / 0.6216 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.004218, allocations: 34.56 kB / 0.6217 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.004219, allocations: 4 kB / 0.6217 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000215/0.004434, allocations: 85.53 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.004467, allocations: 59.34 kB / 0.6218 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.777e-05/0.004524, allocations: 101.8 kB / 0.6219 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.004533, allocations: 25.7 kB / 0.6219 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.004565, allocations: 80.14 kB / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.004581, allocations: 7.953 kB / 0.622 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.004605, allocations: 13.84 kB / 0.622 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.004678, allocations: 318.8 kB / 0.6223 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.00472, allocations: 15.97 kB / 0.6224 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.004754, allocations: 15.98 kB / 0.6224 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/0.004829, allocations: 36.83 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00483, allocations: 0 / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.004934, allocations: 73.66 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.004947, allocations: 4 kB / 0.6225 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.004953, allocations: 3.938 kB / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.004965, allocations: 0 / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.005033, allocations: 11.98 kB / 0.6225 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.005038, allocations: 0 / 0.6225 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.005062, allocations: 11.98 kB / 0.6225 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.005067, allocations: 0 / 0.6225 GB, free: 9.719 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 (2): * Single equations (assignments): 2 * 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 5.854e-05/0.005125, allocations: 118.9 kB / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.005137, allocations: 0 / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.005278, allocations: 68.91 kB / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005281, allocations: 0 / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.005285, allocations: 4 kB / 0.6227 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005287, allocations: 0 / 0.6227 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.584e-05/0.005373, allocations: 105.3 kB / 0.6228 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005374, allocations: 0 / 0.6228 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.005406, allocations: 11.92 kB / 0.6228 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.005408, allocations: 4.031 kB / 0.6228 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.005413, allocations: 4 kB / 0.6228 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.005417, allocations: 7.875 kB / 0.6228 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005418, allocations: 3.938 kB / 0.6228 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.005551, allocations: 163.5 kB / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-06/0.005557, allocations: 0 / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.005568, allocations: 4 kB / 0.623 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.563e-05/0.005604, allocations: 7.922 kB / 0.623 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.005637, allocations: 8.031 kB / 0.623 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.005639, allocations: 0 / 0.623 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.66e-05/0.005665, allocations: 83.28 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005665, allocations: 0 / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001415/0.005807, allocations: 4 kB / 0.6231 GB, free: 9.066 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 (2): * Single equations (assignments): 2 * 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 9.763e-05/0.005904, allocations: 95.23 kB / 0.6232 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.006024, allocations: 35.91 kB / 0.6232 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.006025, allocations: 4.062 kB / 0.6232 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.006063, allocations: 19.98 kB / 0.6232 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.006314, allocations: 7.984 kB / 0.6232 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.006582, allocations: 130.6 kB / 0.6234 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.86e-05/0.006631, allocations: 59.36 kB / 0.6234 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.006659, allocations: 8.5 kB / 0.6234 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.006659, allocations: 0 / 0.6234 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of Templates: time 0.001353/0.008012, allocations: 0.5659 MB / 0.624 GB, free: 8.09 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.836692210286856] Failed to read output from testmodel.py, exit status != 0: 0.01307345274835825 0.020920841000000003 0.016239530000000002 Calling exit ...