Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.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.0008511/0.0008511, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008159/0.0008159, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8479/0.8479, allocations: 177.1 MB / 203.5 MB, free: 5.758 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-531:686: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-531:694: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.678/0.678, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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. " [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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.546e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002044/0.00206, allocations: 1.895 MB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.003288, allocations: 1.216 MB / 0.6224 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.00337, allocations: 7.938 kB / 0.6224 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.003659, allocations: 99.55 kB / 0.6225 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.003918, allocations: 143.2 kB / 0.6226 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.004095, allocations: 135.5 kB / 0.6227 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.0043, allocations: 227.4 kB / 0.623 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.004422, allocations: 25.8 kB / 0.623 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.004552, allocations: 143.6 kB / 0.6231 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.004656, allocations: 91.75 kB / 0.6232 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.004677, allocations: 12 kB / 0.6232 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.611e-05/0.004763, allocations: 59.91 kB / 0.6233 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.004826, allocations: 63.75 kB / 0.6233 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.004875, allocations: 43.86 kB / 0.6234 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.005133, allocations: 287 kB / 0.6237 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.005134, allocations: 4 kB / 0.6237 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.72e-07/0.005135, allocations: 0 / 0.6237 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.005139, allocations: 0 / 0.6237 GB, free: 8.711 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005783/0.005717, allocations: 492.9 kB / 0.6241 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.005747, allocations: 8.031 kB / 0.6241 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.005794, allocations: 28.8 kB / 0.6242 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.006041, allocations: 228.9 kB / 0.6244 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.006059, allocations: 15.92 kB / 0.6244 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.006076, allocations: 12 kB / 0.6244 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.006255, allocations: 121.6 kB / 0.6245 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.006264, allocations: 0 / 0.6245 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.006274, allocations: 0 / 0.6245 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.006279, allocations: 4 kB / 0.6245 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.006424, allocations: 87.86 kB / 0.6246 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.006855, allocations: 376.3 kB / 0.625 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.007304, allocations: 134.5 kB / 0.6251 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.089e-05/0.007385, allocations: 56.81 kB / 0.6252 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.007402, allocations: 4 kB / 0.6252 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.007569, allocations: 122.3 kB / 0.6253 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.00757, allocations: 0 / 0.6253 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0003813/0.007951, allocations: 261.2 kB / 0.6255 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.007982, allocations: 55.41 kB / 0.6256 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.008201, allocations: 337.8 kB / 0.6259 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.008218, allocations: 37.69 kB / 0.6259 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.008284, allocations: 140.5 kB / 0.6261 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.008314, allocations: 43.67 kB / 0.6261 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.008372, allocations: 57.69 kB / 0.6262 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.008449, allocations: 338.8 kB / 0.6265 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.008562, allocations: 87.95 kB / 0.6266 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.00869, allocations: 133.1 kB / 0.6267 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.008899, allocations: 188.2 kB / 0.6269 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008901, allocations: 4 kB / 0.6269 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003026/0.009204, allocations: 285.2 kB / 0.6272 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.009215, allocations: 4 kB / 0.6272 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.009221, allocations: 4 kB / 0.6272 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.009232, allocations: 3.938 kB / 0.6272 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.009342, allocations: 43.91 kB / 0.6272 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.009348, allocations: 8.156 kB / 0.6272 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.009419, allocations: 27.81 kB / 0.6272 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.009438, allocations: 15.98 kB / 0.6273 GB, free: 4.824 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001005/0.009539, allocations: 154.8 kB / 0.6274 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.009557, allocations: 23.86 kB / 0.6274 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.009827, allocations: 213.8 kB / 0.6276 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.009831, allocations: 7.938 kB / 0.6276 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.009834, allocations: 4 kB / 0.6276 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.009837, allocations: 0 / 0.6276 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.01027, allocations: 0.4903 MB / 0.6281 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01027, allocations: 3.938 kB / 0.6281 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.01031, allocations: 15.98 kB / 0.6281 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01032, allocations: 8 kB / 0.6281 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.01033, allocations: 4 kB / 0.6282 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.01033, allocations: 0 / 0.6282 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01033, allocations: 4 kB / 0.6282 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.01056, allocations: 305.9 kB / 0.6284 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.01059, allocations: 27.75 kB / 0.6285 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.01061, allocations: 8 kB / 0.6285 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.01068, allocations: 15.97 kB / 0.6285 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.01072, allocations: 11.98 kB / 0.6285 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.01073, allocations: 15.98 kB / 0.6285 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001289/0.01086, allocations: 209.2 kB / 0.6287 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01086, allocations: 4 kB / 0.6287 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002004/0.01106, allocations: 51.92 kB / 0.6288 GB, free: 3.199 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 0.0006363/0.0117, allocations: 449.8 kB / 0.6292 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.01197, allocations: 182.2 kB / 0.6294 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01197, allocations: 4.312 kB / 0.6294 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.524e-05/0.01206, allocations: 67.89 kB / 0.6294 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.01231, allocations: 64.88 kB / 0.6295 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.01277, allocations: 443.5 kB / 0.6299 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.03e-05/0.01286, allocations: 149.1 kB / 0.6301 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.01291, allocations: 24.5 kB / 0.6301 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of SimCode: time 5.1e-07/0.01291, allocations: 0 / 0.6301 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of Templates: time 0.003595/0.01651, allocations: 3.469 MB / 0.6335 GB, free: 14.55 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.158287528902292] Failed to read output from testmodel.py, exit status != 0: 0.020676507614552975 0.02922939 0.022412535 Calling exit ...