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.0007008/0.0007008, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009495/0.00165, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007031/0.0007031, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009804/0.001684, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.063/1.063, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09548/1.159, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7907/0.7907, allocations: 154.5 MB / 398.5 MB, free: 0.5508 MB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2698/1.061, allocations: 49.05 MB / 447.6 MB, free: 6.691 MB / 426.7 MB " [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.473e-06/1.473e-06, allocations: 0 / 448.9 MB, free: 5.348 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/9.949e-06, allocations: 2.312 kB / 448.9 MB, free: 5.344 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001013/0.001023, allocations: 0.7366 MB / 449.7 MB, free: 4.641 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.001759, allocations: 0.9193 MB / 450.6 MB, free: 3.715 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.001781, allocations: 0 / 450.6 MB, free: 3.715 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.001801, allocations: 3.938 kB / 450.6 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.136e-05/0.001833, allocations: 6.844 kB / 450.6 MB, free: 3.707 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.977e-05/0.001912, allocations: 25.12 kB / 450.6 MB, free: 3.684 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.606e-05/0.001978, allocations: 43.97 kB / 450.7 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.309e-05/0.002041, allocations: 7.984 kB / 450.7 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.271e-05/0.002114, allocations: 38.38 kB / 450.7 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.688e-05/0.002151, allocations: 14.75 kB / 450.7 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.002169, allocations: 5.094 kB / 450.7 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.002177, allocations: 4 kB / 450.7 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.002189, allocations: 5.422 kB / 450.8 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.002207, allocations: 9.797 kB / 450.8 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.594e-05/0.002273, allocations: 22.83 kB / 450.8 MB, free: 3.559 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.002284, allocations: 1.719 kB / 450.8 MB, free: 3.559 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002285, allocations: 0 / 450.8 MB, free: 3.559 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.002296, allocations: 0.9844 kB / 450.8 MB, free: 3.559 MB / 426.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.0002773/0.002573, allocations: 258.6 kB / 451 MB, free: 3.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.0026, allocations: 10.84 kB / 451.1 MB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.002623, allocations: 12.92 kB / 451.1 MB, free: 3.258 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.862e-05/0.002692, allocations: 117.7 kB / 451.2 MB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.002704, allocations: 384 / 451.2 MB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.002713, allocations: 3.281 kB / 451.2 MB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.002825, allocations: 66.94 kB / 451.2 MB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.002831, allocations: 192 / 451.2 MB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-06/0.002836, allocations: 2.484 kB / 451.3 MB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.00284, allocations: 384 / 451.3 MB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.134e-05/0.002861, allocations: 7.938 kB / 451.3 MB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.003039, allocations: 152.2 kB / 451.4 MB, free: 2.871 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.103e-05/0.00309, allocations: 28.59 kB / 451.4 MB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.003106, allocations: 9.516 kB / 451.4 MB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.003123, allocations: 0 / 451.4 MB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.003142, allocations: 34.56 kB / 451.5 MB, free: 2.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.003143, allocations: 0.5312 kB / 451.5 MB, free: 2.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 9.098e-05/0.003234, allocations: 45.66 kB / 451.5 MB, free: 2.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.00326, allocations: 60.81 kB / 451.6 MB, free: 2.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.178e-05/0.003312, allocations: 111.9 kB / 451.7 MB, free: 2.539 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.003321, allocations: 25.7 kB / 451.7 MB, free: 2.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.003348, allocations: 88.69 kB / 451.8 MB, free: 2.418 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.003364, allocations: 15.89 kB / 451.8 MB, free: 2.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.003397, allocations: 14.59 kB / 451.8 MB, free: 2.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.003468, allocations: 318.8 kB / 452.1 MB, free: 2.062 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.003478, allocations: 6.719 kB / 452.2 MB, free: 2.059 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.003486, allocations: 3.984 kB / 452.2 MB, free: 2.055 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.246e-05/0.003509, allocations: 17.52 kB / 452.2 MB, free: 2.035 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.00351, allocations: 0 / 452.2 MB, free: 2.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.81e-05/0.003548, allocations: 42.56 kB / 452.2 MB, free: 1.988 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.003557, allocations: 4 kB / 452.2 MB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.003562, allocations: 4 kB / 452.2 MB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/0.003568, allocations: 3.938 kB / 452.2 MB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.003631, allocations: 13.98 kB / 452.2 MB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.003634, allocations: 4.062 kB / 452.2 MB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.003653, allocations: 9.609 kB / 452.3 MB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.003657, allocations: 0 / 452.3 MB, free: 1.953 MB / 426.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.288e-05/0.0037, allocations: 109.8 kB / 452.4 MB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.003711, allocations: 0.875 kB / 452.4 MB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.003734, allocations: 8 kB / 452.4 MB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.003736, allocations: 8.75 kB / 452.4 MB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.003738, allocations: 1.781 kB / 452.4 MB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.00374, allocations: 0 / 452.4 MB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.647e-05/0.003817, allocations: 75.97 kB / 452.5 MB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003817, allocations: 0 / 452.5 MB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.003842, allocations: 12.67 kB / 452.5 MB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-06/0.003847, allocations: 7.891 kB / 452.5 MB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.003848, allocations: 1.219 kB / 452.5 MB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.003852, allocations: 4 kB / 452.5 MB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.003853, allocations: 0 / 452.5 MB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.003854, allocations: 4.5 kB / 452.5 MB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.422e-05/0.003919, allocations: 135.5 kB / 452.6 MB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-06/0.003926, allocations: 1.125 kB / 452.6 MB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.003961, allocations: 8.859 kB / 452.6 MB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.003986, allocations: 4.578 kB / 452.6 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.003989, allocations: 7.938 kB / 452.6 MB, free: 1.535 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.065e-05/0.004, allocations: 13.45 kB / 452.7 MB, free: 1.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004, allocations: 1.156 kB / 452.7 MB, free: 1.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001064/0.004106, allocations: 8 kB / 452.7 MB, free: 1.512 MB / 426.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.396e-05/0.00416, allocations: 76.97 kB / 452.7 MB, free: 1.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.169e-05/0.004212, allocations: 23.28 kB / 452.8 MB, free: 1.406 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.004216, allocations: 0.875 kB / 452.8 MB, free: 1.406 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.004235, allocations: 12.86 kB / 452.8 MB, free: 1.391 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.004356, allocations: 17.84 kB / 452.8 MB, free: 1.375 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.004662, allocations: 125.7 kB / 452.9 MB, free: 1.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.965e-05/0.004691, allocations: 59.36 kB / 453 MB, free: 1.152 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.665e-05/0.004708, allocations: 4.656 kB / 453 MB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.004752, allocations: 64.33 kB / 453 MB, free: 1.086 MB / 426.7 MB Notification: Performance of SimCode: time 3.8e-07/0.004753, allocations: 0 / 453 MB, free: 1.086 MB / 426.7 MB Notification: Performance of Templates: time 0.001785/0.006537, allocations: 0.7419 MB / 453.8 MB, free: 396 kB / 426.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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5432142671197653]