Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.001096/0.001096, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001226/0.001226, allocations: 173 kB / 23.02 MB, free: 1.547 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.019/1.019, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.851/0.851, allocations: 154.9 MB / 414.8 MB, free: 416 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.467e-06/3.467e-06, allocations: 0 / 0.5207 GB, free: 1.758 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.323e-05/4.67e-05, allocations: 6.203 kB / 0.5207 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002611/0.002658, allocations: 0.7379 MB / 0.5214 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.004584, allocations: 1.203 MB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.004654, allocations: 0 / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.004697, allocations: 3.938 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.004799, allocations: 16.67 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.005406, allocations: 128.9 kB / 0.5227 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.005636, allocations: 119.7 kB / 0.5228 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.00575, allocations: 13.28 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.005902, allocations: 71.81 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.006021, allocations: 35.94 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.006053, allocations: 8.781 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.006135, allocations: 27.98 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.006164, allocations: 13.77 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.006235, allocations: 31.97 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.006452, allocations: 95.73 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.006456, allocations: 0 / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.006458, allocations: 0 / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.006464, allocations: 2.062 kB / 0.5231 GB, free: 15.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00066/0.007124, allocations: 430.2 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.007172, allocations: 8.031 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.834e-05/0.007251, allocations: 12.89 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.00738, allocations: 121.8 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.007403, allocations: 9.844 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.00743, allocations: 8.375 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.007614, allocations: 62.94 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.007623, allocations: 4.125 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.007637, allocations: 1.344 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.007647, allocations: 384 / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/0.007705, allocations: 15.92 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.008168, allocations: 316.6 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.008299, allocations: 48.11 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.008341, allocations: 15.69 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.008351, allocations: 0.5 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.008502, allocations: 89.92 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.834e-06/0.008504, allocations: 0 / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002909/0.008795, allocations: 90.84 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.008841, allocations: 55.41 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.008957, allocations: 177.9 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.008989, allocations: 34.2 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.009066, allocations: 146.7 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.009093, allocations: 21.73 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.009172, allocations: 43.36 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004488/0.009621, allocations: 0.4884 MB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.009742, allocations: 61.69 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.009876, allocations: 108.8 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.01004, allocations: 120.1 kB / 0.5255 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.01005, allocations: 1.562 kB / 0.5255 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000385/0.01043, allocations: 212.9 kB / 0.5257 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.01048, allocations: 40.09 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.01048, allocations: 4 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.0105, allocations: 1.469 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01061, allocations: 15.98 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.01062, allocations: 4 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.01076, allocations: 24.83 kB / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.01079, allocations: 9.047 kB / 0.5258 GB, free: 12.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001174/0.0109, allocations: 173.5 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.01093, allocations: 18.8 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.01097, allocations: 4.5 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.01097, allocations: 8 kB / 0.526 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.01098, allocations: 0 / 0.526 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01099, allocations: 0 / 0.526 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.0114, allocations: 345.3 kB / 0.5263 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.0114, allocations: 0 / 0.5263 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.01145, allocations: 7.984 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.01146, allocations: 2.75 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.01147, allocations: 4 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01147, allocations: 4 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01148, allocations: 0 / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.0117, allocations: 227.8 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.01171, allocations: 7.953 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.01174, allocations: 4 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.01182, allocations: 4.719 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.01187, allocations: 3.984 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.01189, allocations: 5.125 kB / 0.5266 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.514e-05/0.01195, allocations: 135.2 kB / 0.5267 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01195, allocations: 0 / 0.5267 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002874/0.01224, allocations: 24.75 kB / 0.5268 GB, free: 11.21 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001608/0.0124, allocations: 107.7 kB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.01261, allocations: 166.5 kB / 0.527 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01262, allocations: 0 / 0.527 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.118e-05/0.01267, allocations: 31.59 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.0129, allocations: 20.52 kB / 0.5271 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.01326, allocations: 172 kB / 0.5272 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.0133, allocations: 68.91 kB / 0.5273 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.731e-05/0.01333, allocations: 4 kB / 0.5273 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.01336, allocations: 12.5 kB / 0.5273 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.01337, allocations: 0 / 0.5273 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.004037/0.0174, allocations: 1.699 MB / 0.529 GB, free: 8.973 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.87162365578115]