Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.0006903/0.0006903, 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.0007118/0.0007118, 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.8112/0.8112, 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.6769/0.6769, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.609e-05, allocations: 10.22 kB / 0.6194 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001194/0.001221, allocations: 0.6887 MB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007204/0.001941, allocations: 0.886 MB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.001971, allocations: 4 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.001996, allocations: 0 / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.615e-05/0.002052, allocations: 7.875 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.002202, allocations: 19.92 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.829e-05/0.00227, allocations: 47.84 kB / 0.621 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.00236, allocations: 8 kB / 0.621 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.00243, allocations: 27.91 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.002465, allocations: 15.97 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.002486, allocations: 4 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.002495, allocations: 4 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.002509, allocations: 8 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.002529, allocations: 15.92 kB / 0.6211 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.539e-05/0.002604, allocations: 43.86 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002606, allocations: 0 / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.61e-07/0.002607, allocations: 4 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.00261, allocations: 0 / 0.6211 GB, free: 11.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003363/0.002946, allocations: 286.2 kB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.002978, allocations: 9.469 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.003004, allocations: 8.891 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.833e-05/0.003082, allocations: 113.7 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.003091, allocations: 384 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.0031, allocations: 384 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.003251, allocations: 78.16 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.003258, allocations: 192 / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.003266, allocations: 4.312 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.00327, allocations: 384 / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.003404, allocations: 67.86 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.003657, allocations: 208.6 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.003764, allocations: 62.48 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.982e-05/0.003834, allocations: 36.91 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.003852, allocations: 0 / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.00387, allocations: 34.56 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.003871, allocations: 0 / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002883/0.004159, allocations: 129.5 kB / 0.6221 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.004185, allocations: 55.39 kB / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.004241, allocations: 109.9 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.004251, allocations: 29.64 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.004283, allocations: 88.08 kB / 0.6224 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.004301, allocations: 11.95 kB / 0.6224 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.004323, allocations: 9.719 kB / 0.6224 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.004396, allocations: 326.8 kB / 0.6227 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.004461, allocations: 31.97 kB / 0.6227 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-05/0.004521, allocations: 31.97 kB / 0.6228 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.004644, allocations: 64.78 kB / 0.6228 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004646, allocations: 0 / 0.6228 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001471/0.004793, allocations: 101.9 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.004806, allocations: 11.94 kB / 0.6229 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.004809, allocations: 48 / 0.6229 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.00482, allocations: 3.984 kB / 0.6229 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.004889, allocations: 19.92 kB / 0.6229 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.004893, allocations: 0 / 0.6229 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.004925, allocations: 15.94 kB / 0.623 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.004934, allocations: 8 kB / 0.623 GB, free: 9.281 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 (3): * Single equations (assignments): 3 * 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.053e-05/0.004984, allocations: 110.8 kB / 0.6231 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.004997, allocations: 7.984 kB / 0.6231 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.005019, allocations: 11.88 kB / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005021, allocations: 0 / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.005024, allocations: 0 / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.005026, allocations: 0 / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.043e-05/0.005106, allocations: 113.3 kB / 0.6232 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005107, allocations: 0 / 0.6232 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.005146, allocations: 19.98 kB / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.005147, allocations: 0 / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.005153, allocations: 0 / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.005154, allocations: 3.938 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005154, allocations: 0 / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.005324, allocations: 203.3 kB / 0.6234 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.005329, allocations: 3.938 kB / 0.6234 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.005339, allocations: 8 kB / 0.6234 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.755e-05/0.005386, allocations: 15.92 kB / 0.6234 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.005417, allocations: 7.984 kB / 0.6235 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.005419, allocations: 0 / 0.6235 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.875e-05/0.005448, allocations: 91.27 kB / 0.6235 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005448, allocations: 0 / 0.6235 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001345/0.005583, allocations: 4 kB / 0.6235 GB, free: 8.629 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 (3): * Single equations (assignments): 3 * 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 6.132e-05/0.005644, allocations: 91.25 kB / 0.6236 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.00581, allocations: 71.92 kB / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.005811, allocations: 0 / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.727e-05/0.005878, allocations: 39.89 kB / 0.6237 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.006054, allocations: 8 kB / 0.6237 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.006268, allocations: 150.5 kB / 0.6239 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.821e-05/0.006306, allocations: 67.34 kB / 0.624 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.006334, allocations: 16.48 kB / 0.624 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of SimCode: time 3.11e-07/0.006334, allocations: 0 / 0.624 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of Templates: time 0.001319/0.007653, allocations: 0.7674 MB / 0.6247 GB, free: 7.367 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.807537157088518] Failed to read output from testmodel.py, exit status != 0: 0.01184365525841713 0.018785586 0.014669809 Calling exit ...