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.0009963/0.0009963, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001058/0.001058, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.8323/0.8323, allocations: 154.9 MB / 415.9 MB, free: 260 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 2.685e-06/2.685e-06, allocations: 0 / 0.522 GB, free: 1.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.232e-05, allocations: 2.312 kB / 0.522 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002025/0.002057, allocations: 0.6903 MB / 0.5226 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003274, allocations: 0.918 MB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.003318, allocations: 5.75 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.003348, allocations: 3.938 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.093e-05/0.003429, allocations: 7.875 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.003605, allocations: 23.91 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.517e-05/0.00369, allocations: 40.47 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003792, allocations: 11.98 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.00388, allocations: 25.17 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.003925, allocations: 11.98 kB / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.003946, allocations: 4 kB / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.003957, allocations: 4.5 kB / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.003989, allocations: 16.83 kB / 0.5237 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.004011, allocations: 7.938 kB / 0.5237 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.095e-05/0.004102, allocations: 31.89 kB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.004105, allocations: 0.7812 kB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004106, allocations: 0 / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.00411, allocations: 0.625 kB / 0.5237 GB, free: 15.69 MB / 0.4948 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.0004005/0.004511, allocations: 381.5 kB / 0.5241 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.004553, allocations: 8.031 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.004589, allocations: 9.703 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/0.004688, allocations: 112.6 kB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.0047, allocations: 4.375 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.004709, allocations: 6.125 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.004862, allocations: 62.94 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.004869, allocations: 192 / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.004877, allocations: 384 / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.004882, allocations: 6.031 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.004918, allocations: 7.938 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.005153, allocations: 244.4 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.683e-05/0.00521, allocations: 35.8 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.005227, allocations: 11.69 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.00524, allocations: 1.312 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.005258, allocations: 37.33 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.00526, allocations: 0 / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001221/0.005382, allocations: 49.86 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.005409, allocations: 56.66 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.716e-05/0.005477, allocations: 165.9 kB / 0.5249 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.005486, allocations: 25.7 kB / 0.5249 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.00553, allocations: 141 kB / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.005548, allocations: 11.89 kB / 0.525 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.005573, allocations: 19.36 kB / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003096/0.005883, allocations: 496.1 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.005897, allocations: 3.938 kB / 0.5255 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.347e-05/0.00591, allocations: 11.97 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.005942, allocations: 25.47 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005944, allocations: 0 / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.738e-05/0.006001, allocations: 41.66 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.006011, allocations: 4 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.006016, allocations: 0 / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.006024, allocations: 8.484 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.006092, allocations: 8.906 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-06/0.006094, allocations: 0 / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.006119, allocations: 12.98 kB / 0.5256 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.006125, allocations: 8 kB / 0.5256 GB, free: 13.53 MB / 0.4948 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.601e-05/0.006181, allocations: 157.4 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.006197, allocations: 4 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.006221, allocations: 9.031 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.006223, allocations: 3.938 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.006224, allocations: 0 / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.006227, allocations: 2.938 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.741e-05/0.006314, allocations: 101.2 kB / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006315, allocations: 0 / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.006346, allocations: 11.98 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.006348, allocations: 0 / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.006352, allocations: 0 / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.006353, allocations: 0 / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006353, allocations: 0 / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.006455, allocations: 210.8 kB / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.006461, allocations: 0 / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.006469, allocations: 0 / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/0.006507, allocations: 7.984 kB / 0.5261 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.00654, allocations: 11.94 kB / 0.5261 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.006542, allocations: 0 / 0.5261 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.006578, allocations: 127.2 kB / 0.5263 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006578, allocations: 0 / 0.5263 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000139/0.006717, allocations: 9.5 kB / 0.5263 GB, free: 12.84 MB / 0.4948 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 9.609e-05/0.006813, allocations: 91.25 kB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.72e-05/0.00688, allocations: 20.17 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.006882, allocations: 3.938 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.223e-05/0.006904, allocations: 22.69 kB / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.007098, allocations: 11.98 kB / 0.5264 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.007321, allocations: 126.2 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.074e-05/0.007352, allocations: 59.34 kB / 0.5266 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.843e-05/0.007371, allocations: 2.812 kB / 0.5266 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.007421, allocations: 74.2 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.007421, allocations: 0 / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of Templates: time 0.002341/0.009762, allocations: 0.8863 MB / 0.5275 GB, free: 11.52 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.760271669831127]