Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009987/0.0009987, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001702/0.001702, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.064/1.064, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8287/0.8287, allocations: 154.6 MB / 414.9 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 480.1 MB, free: 6.777 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.263e-05, allocations: 2.312 kB / 480.1 MB, free: 6.773 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001196/0.001208, allocations: 0.7342 MB / 480.9 MB, free: 6.07 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008387/0.002047, allocations: 0.9191 MB / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.002082, allocations: 0 / 481.8 MB, free: 5.145 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.002109, allocations: 3.938 kB / 481.8 MB, free: 5.141 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.002172, allocations: 6.562 kB / 481.8 MB, free: 5.137 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.00231, allocations: 24.56 kB / 481.8 MB, free: 5.113 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.481e-05/0.002385, allocations: 46.86 kB / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.002454, allocations: 9.859 kB / 481.9 MB, free: 5.066 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.921e-05/0.002533, allocations: 20.95 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.002572, allocations: 18.75 kB / 481.9 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.002589, allocations: 4 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.002597, allocations: 5.875 kB / 481.9 MB, free: 5.023 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.002615, allocations: 13.72 kB / 481.9 MB, free: 5.012 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.002633, allocations: 9.203 kB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.525e-05/0.002708, allocations: 22.05 kB / 482 MB, free: 4.984 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.00271, allocations: 3.938 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002711, allocations: 5.938 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.065e-06/0.002714, allocations: 0 / 482 MB, free: 4.977 MB / 442.7 MB 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.0002718/0.002986, allocations: 256.6 kB / 482.2 MB, free: 4.703 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.003016, allocations: 8.656 kB / 482.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.003041, allocations: 8.922 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.756e-05/0.003119, allocations: 111.2 kB / 482.3 MB, free: 4.555 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003129, allocations: 5 kB / 482.3 MB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.003135, allocations: 384 / 482.3 MB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.003239, allocations: 67.81 kB / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.003247, allocations: 192 / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.003253, allocations: 1.844 kB / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.003259, allocations: 2.859 kB / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.003282, allocations: 16.64 kB / 482.4 MB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.003491, allocations: 157.9 kB / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.955e-05/0.003541, allocations: 26.56 kB / 482.6 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/0.003555, allocations: 9.859 kB / 482.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.003567, allocations: 0 / 482.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.003586, allocations: 30.56 kB / 482.7 MB, free: 4.207 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.003587, allocations: 4.625 kB / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001031/0.00369, allocations: 47.73 kB / 482.7 MB, free: 4.152 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.00372, allocations: 51.41 kB / 482.8 MB, free: 4.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.643e-05/0.003776, allocations: 118.7 kB / 482.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.003785, allocations: 25.7 kB / 482.9 MB, free: 3.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.003815, allocations: 88.73 kB / 483 MB, free: 3.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.003833, allocations: 15.88 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.003856, allocations: 15.81 kB / 483 MB, free: 3.805 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.805e-05/0.003924, allocations: 318.8 kB / 483.3 MB, free: 3.484 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.003934, allocations: 4 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-06/0.003943, allocations: 1.062 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.55e-05/0.003968, allocations: 20.78 kB / 483.3 MB, free: 3.457 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00397, allocations: 0 / 483.3 MB, free: 3.457 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.137e-05/0.004011, allocations: 46.53 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.004021, allocations: 4 kB / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.004024, allocations: 4.547 kB / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.004037, allocations: 7.938 kB / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.889e-05/0.004096, allocations: 12.58 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.004098, allocations: 1.438 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.004117, allocations: 4 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.004122, allocations: 0 / 483.4 MB, free: 3.383 MB / 442.7 MB 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.779e-05/0.00417, allocations: 110.6 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.004184, allocations: 4 kB / 483.5 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.004204, allocations: 9.438 kB / 483.5 MB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.004206, allocations: 7.875 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.004208, allocations: 4 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.00421, allocations: 0 / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.673e-05/0.004287, allocations: 70.53 kB / 483.6 MB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.004289, allocations: 4 kB / 483.6 MB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.004314, allocations: 13.05 kB / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004315, allocations: 0 / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.00432, allocations: 1.031 kB / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.00432, allocations: 0 / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004321, allocations: 0 / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.546e-05/0.004396, allocations: 140.1 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.004402, allocations: 3.953 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.004411, allocations: 4.594 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.49e-05/0.004446, allocations: 9.203 kB / 483.8 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.004476, allocations: 7.984 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.00448, allocations: 3.938 kB / 483.8 MB, free: 2.961 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.098e-05/0.004491, allocations: 18.05 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004491, allocations: 0 / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00011/0.004601, allocations: 8 kB / 483.8 MB, free: 2.934 MB / 442.7 MB 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.893e-05/0.00466, allocations: 77.83 kB / 483.9 MB, free: 2.852 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.468e-05/0.004714, allocations: 16.84 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.004716, allocations: 0.8438 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.004733, allocations: 8.859 kB / 483.9 MB, free: 2.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.004862, allocations: 20.5 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001939/0.005056, allocations: 122.4 kB / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.005088, allocations: 71.22 kB / 484.1 MB, free: 2.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.632e-05/0.005104, allocations: 1.906 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.005148, allocations: 51.38 kB / 484.2 MB, free: 2.52 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005149, allocations: 4 kB / 484.2 MB, free: 2.516 MB / 442.7 MB Notification: Performance of Templates: time 0.002005/0.007154, allocations: 0.7226 MB / 484.9 MB, free: 1.828 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.640750593971461]