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.0007534/0.0007534, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.0007643/0.0007643, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 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.8323/0.8323, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.7178/0.7178, allocations: 203.8 MB / 0.5049 GB, free: 10.4 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008481/0.0008481, allocations: 70.73 kB / 0.7194 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3881, allocations: 102 MB / 0.8191 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001216/0.3893, allocations: 0.6813 MB / 0.8197 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005567/0.3899, allocations: 0.8989 MB / 0.8206 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.3899, allocations: 0 / 0.8206 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.3899, allocations: 0.6562 kB / 0.8206 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.39, allocations: 11.31 kB / 0.8206 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.3901, allocations: 19.03 kB / 0.8206 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.3902, allocations: 43.09 kB / 0.8207 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.3903, allocations: 4.594 kB / 0.8207 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/0.3903, allocations: 29.92 kB / 0.8207 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.3904, allocations: 19.05 kB / 0.8207 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.3904, allocations: 10.09 kB / 0.8207 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-06/0.3904, allocations: 2.844 kB / 0.8207 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.3904, allocations: 9.906 kB / 0.8207 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.3904, allocations: 13.92 kB / 0.8208 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.851e-05/0.3905, allocations: 39.27 kB / 0.8208 GB, free: 124 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3905, allocations: 0 / 0.8208 GB, free: 124 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3905, allocations: 0.9844 kB / 0.8208 GB, free: 124 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3905, allocations: 0 / 0.8208 GB, free: 124 kB / 0.6042 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.0003404/0.3909, allocations: 290.9 kB / 0.8211 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.3909, allocations: 15.41 kB / 0.8211 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.3909, allocations: 9.406 kB / 0.8211 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.051e-05/0.391, allocations: 111.8 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.391, allocations: 2.688 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.391, allocations: 384 / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3912, allocations: 74.14 kB / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3912, allocations: 192 / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.3912, allocations: 4.5 kB / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3912, allocations: 0 / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.3913, allocations: 67.36 kB / 0.8213 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.3916, allocations: 207 kB / 0.8215 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.3917, allocations: 57.22 kB / 0.8216 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.635e-05/0.3917, allocations: 47.97 kB / 0.8216 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3918, allocations: 1.625 kB / 0.8216 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.3918, allocations: 32.73 kB / 0.8217 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3918, allocations: 3.938 kB / 0.8217 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002878/0.3921, allocations: 128.8 kB / 0.8218 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.3921, allocations: 52.5 kB / 0.8219 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.896e-05/0.3922, allocations: 114.9 kB / 0.822 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.3922, allocations: 31.7 kB / 0.822 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.3922, allocations: 82.55 kB / 0.8221 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.3922, allocations: 18.41 kB / 0.8221 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.3922, allocations: 12.78 kB / 0.8221 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.3923, allocations: 318 kB / 0.8224 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-05/0.3924, allocations: 34.02 kB / 0.8224 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.3924, allocations: 33.23 kB / 0.8225 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3926, allocations: 66.48 kB / 0.8225 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3926, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001491/0.3927, allocations: 108.3 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/0.3927, allocations: 9.5 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3927, allocations: 0 / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3927, allocations: 0 / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.3928, allocations: 21.22 kB / 0.8227 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3928, allocations: 3.938 kB / 0.8227 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.3928, allocations: 10.38 kB / 0.8227 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3928, allocations: 2.453 kB / 0.8227 GB, free: 14.56 MB / 0.6198 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 4.685e-05/0.3929, allocations: 108.9 kB / 0.8228 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.3929, allocations: 13.2 kB / 0.8228 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.3929, allocations: 10.39 kB / 0.8228 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.3929, allocations: 1.562 kB / 0.8228 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3929, allocations: 1.312 kB / 0.8228 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3929, allocations: 0 / 0.8228 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.041e-05/0.393, allocations: 110.6 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.393, allocations: 1.078 kB / 0.8229 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.3931, allocations: 20.97 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3931, allocations: 1.188 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.3931, allocations: 0 / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3931, allocations: 320 / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3931, allocations: 6.344 kB / 0.8229 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.3932, allocations: 190.3 kB / 0.8231 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.3932, allocations: 11.94 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.3933, allocations: 5.281 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.716e-05/0.3933, allocations: 15.66 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.3933, allocations: 2.906 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3933, allocations: 7.094 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.668e-05/0.3934, allocations: 90.41 kB / 0.8233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3934, allocations: 0 / 0.8233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001317/0.3935, allocations: 6.375 kB / 0.8233 GB, free: 14.05 MB / 0.6198 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 5.967e-05/0.3936, allocations: 96.31 kB / 0.8234 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.3937, allocations: 64.27 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.3937, allocations: 4 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.718e-05/0.3938, allocations: 39.36 kB / 0.8235 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.394, allocations: 6.938 kB / 0.8235 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.3942, allocations: 148.5 kB / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.3942, allocations: 64.62 kB / 0.8237 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.3943, allocations: 13.78 kB / 0.8237 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.3943, allocations: 7.938 kB / 0.8237 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.00145/0.3957, allocations: 0.7541 MB / 0.8244 GB, free: 13.65 MB / 0.6198 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: 5.243815163616091] Failed to read output from testmodel.py, exit status != 0: 0.4006591779179871 0.40967653099999995 0.017466476 Calling exit ...