Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0008104/0.0008104, allocations: 80.48 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.0009641/0.0009641, 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.8519/0.8519, allocations: 177.1 MB / 203.5 MB, free: 5.668 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.6753/0.6753, 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.61e-06, allocations: 4 kB / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.626e-05/4.187e-05, allocations: 3.875 kB / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001442/0.001484, allocations: 0.5386 MB / 0.6198 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.552e-05/0.00153, allocations: 11.97 kB / 0.6198 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.001557, allocations: 0 / 0.6198 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.001586, allocations: 0 / 0.6198 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.814e-05/0.001614, allocations: 3.938 kB / 0.6198 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.299e-05/0.001647, allocations: 0 / 0.6198 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.961e-05/0.001706, allocations: 4 kB / 0.6198 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.001758, allocations: 0 / 0.6198 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.001788, allocations: 4 kB / 0.6198 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.001807, allocations: 0 / 0.6198 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.001828, allocations: 0 / 0.6198 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-06/0.001833, allocations: 4 kB / 0.6198 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.001846, allocations: 0 / 0.6198 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.001862, allocations: 0 / 0.6198 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.843e-05/0.00192, allocations: 7.938 kB / 0.6199 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.001923, allocations: 0 / 0.6199 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.001924, allocations: 0 / 0.6199 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.00193, allocations: 3.984 kB / 0.6199 GB, free: 12.69 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002705/0.0022, allocations: 234.4 kB / 0.6201 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.002243, allocations: 17.47 kB / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.002273, allocations: 4.875 kB / 0.6201 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.279e-05/0.002356, allocations: 101.8 kB / 0.6202 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.002371, allocations: 384 / 0.6202 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.00238, allocations: 384 / 0.6202 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.792e-05/0.002467, allocations: 38.25 kB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.002476, allocations: 192 / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.002485, allocations: 4.312 kB / 0.6202 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.002489, allocations: 384 / 0.6202 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.819e-05/0.002508, allocations: 11.92 kB / 0.6202 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.002763, allocations: 327.2 kB / 0.6206 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.003125, allocations: 169.1 kB / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.003151, allocations: 84.08 kB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.003173, allocations: 75.28 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.003207, allocations: 113.8 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.82e-07/0.003207, allocations: 0 / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.521e-05/0.003262, allocations: 29.64 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.003309, allocations: 126.7 kB / 0.6211 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.003377, allocations: 97.86 kB / 0.6212 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.003384, allocations: 25.7 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.00341, allocations: 84.27 kB / 0.6213 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.003412, allocations: 0 / 0.6213 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.003428, allocations: 13.72 kB / 0.6213 GB, free: 11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.003495, allocations: 310.8 kB / 0.6216 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-06/0.0035, allocations: 0 / 0.6216 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-06/0.003503, allocations: 3.938 kB / 0.6216 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.825e-05/0.003521, allocations: 79.27 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.003536, allocations: 75.28 kB / 0.6218 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.154e-05/0.003568, allocations: 33.64 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.003595, allocations: 79.28 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.003614, allocations: 83.22 kB / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-05/0.003657, allocations: 162.5 kB / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.682e-05/0.003674, allocations: 75.28 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-05/0.003705, allocations: 154.5 kB / 0.6224 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.961e-05/0.003745, allocations: 83.27 kB / 0.6224 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.003761, allocations: 75.28 kB / 0.6225 GB, free: 9.789 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 (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 prepare postOptimizeDAE: time 7.674e-05/0.003838, allocations: 265.3 kB / 0.6228 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.00387, allocations: 105 kB / 0.6229 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.003905, allocations: 112 kB / 0.623 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-05/0.003944, allocations: 184.4 kB / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-05/0.003984, allocations: 180.2 kB / 0.6233 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.221e-05/0.004026, allocations: 188.2 kB / 0.6235 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.004147, allocations: 352.9 kB / 0.6238 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/0.00417, allocations: 104.9 kB / 0.6239 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.004195, allocations: 112.9 kB / 0.624 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.82e-05/0.004234, allocations: 180.3 kB / 0.6242 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.00428, allocations: 180.2 kB / 0.6244 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.627e-05/0.004327, allocations: 184.2 kB / 0.6246 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.886e-05/0.004366, allocations: 176.3 kB / 0.6247 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.425e-05/0.00446, allocations: 307.8 kB / 0.625 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.00449, allocations: 108.9 kB / 0.6251 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.004537, allocations: 176.3 kB / 0.6253 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.491e-05/0.004582, allocations: 112.9 kB / 0.6254 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.004627, allocations: 192.2 kB / 0.6256 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.004649, allocations: 101 kB / 0.6257 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.628e-05/0.004675, allocations: 75.28 kB / 0.6257 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004675, allocations: 0 / 0.6257 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001532/0.004828, allocations: 0 / 0.6257 GB, free: 6.273 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 9.639e-05/0.004925, allocations: 170.5 kB / 0.6259 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.127e-05/0.004966, allocations: 3.938 kB / 0.6259 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.004968, allocations: 4.094 kB / 0.6259 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.004968, allocations: 0 / 0.6259 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.005207, allocations: 463.7 kB / 0.6264 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.005403, allocations: 181.9 kB / 0.6265 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.366e-05/0.005437, allocations: 55.3 kB / 0.6266 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.104e-05/0.005448, allocations: 8.5 kB / 0.6266 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.005449, allocations: 0 / 0.6266 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of Templates: time 0.001022/0.00647, allocations: 325.2 kB / 0.6269 GB, free: 5.023 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.891451257281005] Failed to read output from testmodel.py, exit status != 0: 0.012405924499034882 0.024593625 0.019887929000000002 Calling exit ...