Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009817/0.0009817, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009442/0.0009442, allocations: 177 kB / 23.5 MB, free: 1.051 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.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.8272/0.8272, allocations: 154.8 MB / 415.1 MB, free: 0.4922 MB / 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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 0.5206 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.374e-05, allocations: 4.625 kB / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.003042/0.003076, allocations: 1.945 MB / 0.5225 GB, free: 332 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.004732, allocations: 1.246 MB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.00485, allocations: 7.938 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.00522, allocations: 100.3 kB / 0.5238 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.005528, allocations: 136.2 kB / 0.5239 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.005782, allocations: 131.5 kB / 0.5241 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.006008, allocations: 233 kB / 0.5243 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.006166, allocations: 29.8 kB / 0.5243 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.006331, allocations: 135.6 kB / 0.5244 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.006446, allocations: 91.75 kB / 0.5245 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.006472, allocations: 12.78 kB / 0.5245 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.006583, allocations: 63.89 kB / 0.5246 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.006656, allocations: 64.98 kB / 0.5247 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.006716, allocations: 47.84 kB / 0.5247 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.006983, allocations: 199.2 kB / 0.5249 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.006987, allocations: 5.344 kB / 0.5249 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/0.006989, allocations: 0 / 0.5249 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.006994, allocations: 0 / 0.5249 GB, free: 13.85 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007198/0.007714, allocations: 0.5702 MB / 0.5255 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.007762, allocations: 8.031 kB / 0.5255 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/0.007849, allocations: 34.3 kB / 0.5255 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.008147, allocations: 223.7 kB / 0.5257 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.008171, allocations: 11.94 kB / 0.5257 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.008186, allocations: 8 kB / 0.5257 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.008383, allocations: 105.5 kB / 0.5258 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.00839, allocations: 0 / 0.5258 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.008405, allocations: 11.98 kB / 0.5258 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.008413, allocations: 0 / 0.5258 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.008493, allocations: 42.53 kB / 0.5259 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.009057, allocations: 421.5 kB / 0.5263 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.00925, allocations: 91.09 kB / 0.5264 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.009298, allocations: 32.59 kB / 0.5264 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.009314, allocations: 7.984 kB / 0.5264 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.009454, allocations: 97.95 kB / 0.5265 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/0.009456, allocations: 0 / 0.5265 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0002776/0.009733, allocations: 180 kB / 0.5267 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.009772, allocations: 63.33 kB / 0.5267 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.01001, allocations: 324.9 kB / 0.527 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.01003, allocations: 37.69 kB / 0.5271 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.01012, allocations: 188.5 kB / 0.5273 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.01015, allocations: 43.69 kB / 0.5273 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.01021, allocations: 63.34 kB / 0.5274 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01035, allocations: 0.5079 MB / 0.5279 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.01042, allocations: 36.59 kB / 0.5279 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.01051, allocations: 95.22 kB / 0.528 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.01065, allocations: 128.5 kB / 0.5281 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01065, allocations: 0 / 0.5281 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002493/0.0109, allocations: 211 kB / 0.5283 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.01092, allocations: 4 kB / 0.5283 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.01093, allocations: 0 / 0.5283 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.01094, allocations: 7.938 kB / 0.5283 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.0111, allocations: 43.91 kB / 0.5284 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.0111, allocations: 4 kB / 0.5284 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.01117, allocations: 23.94 kB / 0.5284 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.01119, allocations: 13.53 kB / 0.5284 GB, free: 10.03 MB / 0.4948 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.0001043/0.0113, allocations: 168.5 kB / 0.5286 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.01133, allocations: 27.86 kB / 0.5286 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.01156, allocations: 168.8 kB / 0.5288 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.01157, allocations: 7.938 kB / 0.5288 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01157, allocations: 3.938 kB / 0.5288 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.01158, allocations: 3.984 kB / 0.5288 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.01211, allocations: 489.5 kB / 0.5292 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.01211, allocations: 6.688 kB / 0.5292 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.601e-05/0.01218, allocations: 11.98 kB / 0.5293 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.01218, allocations: 4 kB / 0.5293 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01219, allocations: 7.984 kB / 0.5293 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.0122, allocations: 0 / 0.5293 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.0122, allocations: 3.938 kB / 0.5293 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.01243, allocations: 304.1 kB / 0.5296 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.01246, allocations: 36.91 kB / 0.5296 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.01249, allocations: 7.984 kB / 0.5296 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.01256, allocations: 8 kB / 0.5296 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.01261, allocations: 20.97 kB / 0.5296 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.01263, allocations: 7.984 kB / 0.5296 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001217/0.01275, allocations: 211 kB / 0.5298 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01275, allocations: 0 / 0.5298 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002188/0.01297, allocations: 47.92 kB / 0.5299 GB, free: 8.453 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: 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.000932/0.0139, allocations: 401.2 kB / 0.5303 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.0141, allocations: 115.5 kB / 0.5304 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.0141, allocations: 0 / 0.5304 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-05/0.01417, allocations: 60.72 kB / 0.5304 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.01444, allocations: 66.72 kB / 0.5305 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.01493, allocations: 362.8 kB / 0.5308 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.68e-05/0.01498, allocations: 88.31 kB / 0.5309 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.851e-05/0.01505, allocations: 37.06 kB / 0.531 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.01511, allocations: 28.48 kB / 0.531 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/0.01511, allocations: 0 / 0.531 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of Templates: time 0.005363/0.02047, allocations: 3.298 MB / 0.5342 GB, free: 4.352 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.228275459026918]