Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.0007222/0.0007222, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.000746/0.000746, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8505/0.8505, 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.6841/0.6841, allocations: 154.6 MB / 414.5 MB, free: 0.8359 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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.95e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001261/0.001291, allocations: 0.6537 MB / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008291/0.00212, allocations: 0.8393 MB / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.00215, allocations: 0 / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.002176, allocations: 3.938 kB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.002228, allocations: 7.938 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.002403, allocations: 19.91 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.583e-05/0.002469, allocations: 23.92 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.002552, allocations: 4 kB / 0.6209 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.002609, allocations: 11.98 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.952e-05/0.002639, allocations: 8 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.002652, allocations: 0 / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.256e-05/0.002695, allocations: 7.984 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.002708, allocations: 3.938 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.002725, allocations: 11.98 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.326e-05/0.002818, allocations: 27.89 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.00282, allocations: 4 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.543e-06/0.002821, allocations: 0 / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.002825, allocations: 4 kB / 0.6209 GB, free: 11.54 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.0003092/0.003134, allocations: 254.4 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.003171, allocations: 9.469 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.003249, allocations: 8.891 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.583e-05/0.003325, allocations: 105.8 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.003336, allocations: 4.359 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.003343, allocations: 4.312 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.00346, allocations: 62.11 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.003469, allocations: 192 / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.003477, allocations: 384 / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.003481, allocations: 384 / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.494e-05/0.003566, allocations: 39.89 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.003799, allocations: 188.6 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.16e-05/0.00387, allocations: 34.56 kB / 0.6216 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.003915, allocations: 32.83 kB / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.003932, allocations: 0 / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.003951, allocations: 30.56 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003951, allocations: 0 / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002043/0.004155, allocations: 85.58 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.004183, allocations: 51.41 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.075e-05/0.004234, allocations: 97.86 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.004242, allocations: 29.83 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.004276, allocations: 96.02 kB / 0.622 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.004291, allocations: 7.953 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.004313, allocations: 13.72 kB / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.00438, allocations: 310.8 kB / 0.6223 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.004416, allocations: 19.92 kB / 0.6223 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.004452, allocations: 19.97 kB / 0.6224 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.98e-05/0.004521, allocations: 36.89 kB / 0.6224 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.004523, allocations: 0 / 0.6224 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.617e-05/0.004619, allocations: 69.66 kB / 0.6225 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.00463, allocations: 4 kB / 0.6225 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.004636, allocations: 7.938 kB / 0.6225 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.004647, allocations: 0 / 0.6225 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.004697, allocations: 7.984 kB / 0.6225 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.004701, allocations: 0 / 0.6225 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.004721, allocations: 11.97 kB / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.004727, allocations: 8 kB / 0.6225 GB, free: 9.746 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 4.516e-05/0.004772, allocations: 106.8 kB / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.004783, allocations: 3.984 kB / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.004904, allocations: 76.91 kB / 0.6227 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004905, allocations: 0 / 0.6227 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.004909, allocations: 3.938 kB / 0.6227 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.004911, allocations: 4.031 kB / 0.6227 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.583e-05/0.004987, allocations: 105.3 kB / 0.6228 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.004987, allocations: 0 / 0.6228 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.005009, allocations: 8 kB / 0.6228 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.005011, allocations: 0 / 0.6228 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.005016, allocations: 0 / 0.6228 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005017, allocations: 7.875 kB / 0.6228 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005018, allocations: 0 / 0.6228 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.005129, allocations: 167.4 kB / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.005135, allocations: 7.984 kB / 0.623 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-06/0.005143, allocations: 0 / 0.623 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.424e-05/0.005177, allocations: 7.938 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.005208, allocations: 8.172 kB / 0.623 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.00521, allocations: 0 / 0.623 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.303e-05/0.005233, allocations: 83.27 kB / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.005233, allocations: 0 / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001291/0.005362, allocations: 4 kB / 0.6231 GB, free: 9.098 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 7.037e-05/0.005432, allocations: 95.28 kB / 0.6232 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.005551, allocations: 43.89 kB / 0.6232 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.005552, allocations: 0 / 0.6232 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.00559, allocations: 19.98 kB / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.005768, allocations: 0 / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.005977, allocations: 134.6 kB / 0.6234 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.006015, allocations: 63.47 kB / 0.6234 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.006036, allocations: 12.5 kB / 0.6234 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/0.006037, allocations: 0 / 0.6234 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of Templates: time 0.00145/0.007486, allocations: 0.556 MB / 0.624 GB, free: 8.121 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.722481720149517] Failed to read output from testmodel.py, exit status != 0: 0.012003577314317226 0.019582825 0.015179356000000001 Calling exit ...