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.0009168/0.0009168, allocations: 80.75 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.0009681/0.0009681, allocations: 181 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 0.9904/0.9904, allocations: 177.1 MB / 203.8 MB, free: 5.473 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-535:34: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-535:42: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.9472/0.9472, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 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 1.443e-06/1.443e-06, allocations: 0 / 480.5 MB, free: 6.422 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.399e-05, allocations: 5.844 kB / 480.5 MB, free: 6.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001814/0.001838, allocations: 0.7399 MB / 481.2 MB, free: 5.715 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009435/0.002782, allocations: 0.9219 MB / 482.1 MB, free: 4.785 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.002819, allocations: 4.875 kB / 482.1 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.002847, allocations: 3.938 kB / 482.1 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-05/0.002926, allocations: 8.172 kB / 482.1 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.003085, allocations: 15.92 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.041e-05/0.003165, allocations: 48.06 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.766e-05/0.003243, allocations: 8.672 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.524e-05/0.003328, allocations: 29.83 kB / 482.2 MB, free: 4.684 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.003379, allocations: 18.36 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.003396, allocations: 0 / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.003404, allocations: 4 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.003427, allocations: 15.14 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.003448, allocations: 13.75 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.89e-05/0.003526, allocations: 26.73 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003529, allocations: 0.875 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00353, allocations: 0.5 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.003533, allocations: 0 / 482.3 MB, free: 4.617 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.0002752/0.003808, allocations: 257.2 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.003843, allocations: 12.03 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.003867, allocations: 3.062 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.933e-05/0.003947, allocations: 113.7 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.003955, allocations: 4.375 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.003962, allocations: 2.297 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.004073, allocations: 62.94 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.004081, allocations: 4.188 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.004087, allocations: 5 kB / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.004092, allocations: 5.906 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.004114, allocations: 9.203 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.004352, allocations: 152.3 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.775e-05/0.00442, allocations: 23.23 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.004441, allocations: 14.38 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.00446, allocations: 7.938 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.004486, allocations: 30.56 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.004488, allocations: 0.6875 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001478/0.004635, allocations: 46.23 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.004668, allocations: 56.59 kB / 483.1 MB, free: 3.727 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.004734, allocations: 110.7 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.004748, allocations: 29.7 kB / 483.3 MB, free: 3.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.004781, allocations: 81.02 kB / 483.3 MB, free: 3.488 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.004802, allocations: 15.84 kB / 483.3 MB, free: 3.473 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.004833, allocations: 18.58 kB / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.004914, allocations: 322.8 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.004924, allocations: 0 / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.004934, allocations: 8.844 kB / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.004964, allocations: 13.45 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.004966, allocations: 0.625 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.404e-05/0.00502, allocations: 41.69 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.005031, allocations: 4.625 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005035, allocations: 0.625 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.005046, allocations: 5.109 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.005115, allocations: 12.61 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.005119, allocations: 0.625 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.005143, allocations: 8 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.005149, allocations: 8.562 kB / 483.8 MB, free: 3.02 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 6.519e-05/0.005215, allocations: 110.5 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.005233, allocations: 8.734 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.005256, allocations: 4 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.005259, allocations: 5.719 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.005261, allocations: 0 / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005263, allocations: 0 / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.433e-05/0.005347, allocations: 73.89 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005348, allocations: 0 / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.005377, allocations: 8.906 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.005379, allocations: 0 / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.005385, allocations: 4.859 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.005386, allocations: 4 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.005387, allocations: 0 / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.907e-05/0.005476, allocations: 140.9 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.005483, allocations: 3.953 kB / 484.1 MB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.005493, allocations: 6.344 kB / 484.1 MB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.732e-05/0.00553, allocations: 11.92 kB / 484.2 MB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.005564, allocations: 8.703 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.005567, allocations: 3.938 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.34e-05/0.00558, allocations: 17.14 kB / 484.2 MB, free: 2.578 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00558, allocations: 1.5 kB / 484.2 MB, free: 2.578 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001164/0.005697, allocations: 8 kB / 484.2 MB, free: 2.57 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 7.182e-05/0.005768, allocations: 72.42 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.229e-05/0.005831, allocations: 22.75 kB / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005833, allocations: 0 / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/0.005852, allocations: 16.8 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.005987, allocations: 4.234 kB / 484.3 MB, free: 2.445 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.006221, allocations: 127.7 kB / 484.4 MB, free: 2.297 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.006253, allocations: 55.3 kB / 484.5 MB, free: 2.223 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.313e-05/0.006276, allocations: 13.14 kB / 484.5 MB, free: 2.211 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.006326, allocations: 52.28 kB / 484.6 MB, free: 2.16 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.006327, allocations: 0 / 484.6 MB, free: 2.16 MB / 442.7 MB Notification: Performance of Templates: time 0.00209/0.008416, allocations: 0.73 MB / 485.3 MB, free: 1.473 MB / 442.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.705277180764824]