Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.0009307/0.0009307, allocations: 85.73 kB / 19.87 MB, free: 4.613 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.001052/0.001052, allocations: 169 kB / 23.27 MB, free: 1.219 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.9361/0.9361, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.7955/0.7955, allocations: 154.9 MB / 415.1 MB, free: 256 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.5211 GB, free: 1.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.286e-05, allocations: 6.031 kB / 0.5211 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002004/0.002037, allocations: 0.5878 MB / 0.5217 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.003506, allocations: 1.16 MB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.003549, allocations: 4.562 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.003574, allocations: 3.938 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.003641, allocations: 0.875 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.004101, allocations: 120.4 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.004252, allocations: 96.5 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.842e-05/0.004331, allocations: 3.984 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.004438, allocations: 48.56 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.004529, allocations: 29.11 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.004553, allocations: 8 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.503e-05/0.004618, allocations: 19.92 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.004639, allocations: 8.625 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.004679, allocations: 19.98 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.004827, allocations: 81.58 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.00483, allocations: 0 / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004831, allocations: 0 / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.004834, allocations: 0 / 0.5232 GB, free: 15.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003908/0.005225, allocations: 402.3 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.005265, allocations: 9.656 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.005304, allocations: 8.938 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.875e-05/0.005383, allocations: 104.6 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.005402, allocations: 12.36 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.005421, allocations: 9.688 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.642e-05/0.005497, allocations: 55.97 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.005504, allocations: 192 / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.005511, allocations: 4.359 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.005516, allocations: 0.9062 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.095e-05/0.005527, allocations: 8.688 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.005805, allocations: 260.4 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.212e-05/0.005847, allocations: 32.47 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.329e-05/0.005861, allocations: 7.688 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-06/0.005865, allocations: 0 / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.005971, allocations: 92.16 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.005972, allocations: 0 / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001482/0.00612, allocations: 61.56 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.006154, allocations: 62.92 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.646e-05/0.006241, allocations: 161.9 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.006262, allocations: 29.7 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.006324, allocations: 138.8 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.699e-06/0.006334, allocations: 3.984 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.006393, allocations: 35.36 kB / 0.5247 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003949/0.006788, allocations: 496.1 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.006856, allocations: 57.67 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.006902, allocations: 72.75 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.949e-05/0.006962, allocations: 85.47 kB / 0.5253 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.006963, allocations: 4.562 kB / 0.5253 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001428/0.007106, allocations: 161.9 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.007134, allocations: 45.62 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007139, allocations: 1.469 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.007148, allocations: 3.938 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-05/0.007161, allocations: 4 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.007164, allocations: 0.75 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.593e-05/0.007259, allocations: 20.88 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.007271, allocations: 4 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 5.993e-05/0.007331, allocations: 162.8 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.007338, allocations: 7.938 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.007359, allocations: 8 kB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.007363, allocations: 11.92 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.007364, allocations: 0 / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.007367, allocations: 0 / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.03e-05/0.007427, allocations: 100 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007428, allocations: 0 / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-06/0.007431, allocations: 0 / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.007432, allocations: 0 / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.007437, allocations: 7.984 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.007437, allocations: 0 / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007438, allocations: 0 / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.283e-05/0.007511, allocations: 88.33 kB / 0.5259 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-06/0.007516, allocations: 5.344 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-06/0.007523, allocations: 0 / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.007531, allocations: 0 / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.007551, allocations: 15.86 kB / 0.526 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.007555, allocations: 5.25 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.05e-05/0.007586, allocations: 127.2 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.007586, allocations: 0.9375 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001284/0.007714, allocations: 16 kB / 0.5261 GB, free: 12.11 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000101/0.007815, allocations: 103.9 kB / 0.5262 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.007932, allocations: 133.8 kB / 0.5263 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007933, allocations: 2.562 kB / 0.5263 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.007949, allocations: 23.62 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.00808, allocations: 7.984 kB / 0.5264 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000181/0.008261, allocations: 126.2 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.563e-05/0.008287, allocations: 55.3 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.558e-05/0.008302, allocations: 7.125 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.704e-05/0.008369, allocations: 90.17 kB / 0.5266 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.00837, allocations: 0 / 0.5266 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.002566/0.01094, allocations: 1.297 MB / 0.5279 GB, free: 10.27 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.473923372104764]