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.001441/0.001441, allocations: 82.95 kB / 19.16 MB, free: 2.539 MB / 14.72 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.001698/0.001698, allocations: 168 kB / 22.44 MB, free: 5.348 MB / 14.72 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.424/1.424, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.169/1.169, allocations: 155 MB / 414.2 MB, free: 4.953 MB / 382.1 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 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 70.55 kB / 0.6191 GB, free: 4.203 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5241, allocations: 102 MB / 0.7187 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001611/0.5257, allocations: 0.5817 MB / 0.7193 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.5269, allocations: 1.138 MB / 0.7204 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.527, allocations: 0 / 0.7204 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.527, allocations: 0.5625 kB / 0.7204 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.5271, allocations: 6.453 kB / 0.7204 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.5275, allocations: 126.7 kB / 0.7205 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.5277, allocations: 85.98 kB / 0.7206 GB, free: 484 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.5277, allocations: 2.891 kB / 0.7206 GB, free: 484 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.5278, allocations: 51.91 kB / 0.7206 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/0.5279, allocations: 29.27 kB / 0.7207 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.528, allocations: 7.812 kB / 0.7207 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-05/0.528, allocations: 20.45 kB / 0.7207 GB, free: 444 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.5281, allocations: 6.891 kB / 0.7207 GB, free: 440 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.5281, allocations: 33.83 kB / 0.7207 GB, free: 420 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.5283, allocations: 98.39 kB / 0.7208 GB, free: 384 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5283, allocations: 4 kB / 0.7208 GB, free: 380 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5283, allocations: 0 / 0.7208 GB, free: 380 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.5283, allocations: 0 / 0.7208 GB, free: 380 kB / 0.6075 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.0004103/0.5288, allocations: 301.2 kB / 0.7211 GB, free: 68 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5288, allocations: 10.44 kB / 0.7211 GB, free: 68 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.5288, allocations: 17.33 kB / 0.7212 GB, free: 56 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.529, allocations: 106 kB / 0.7213 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.529, allocations: 3.562 kB / 0.7213 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.529, allocations: 5.438 kB / 0.7213 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.5291, allocations: 63.89 kB / 0.7213 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.5291, allocations: 5.344 kB / 0.7213 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.5291, allocations: 3.938 kB / 0.7213 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.5292, allocations: 5.156 kB / 0.7213 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.474e-05/0.5292, allocations: 3.906 kB / 0.7213 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.5296, allocations: 218.1 kB / 0.7216 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 5.984e-05/0.5296, allocations: 25.11 kB / 0.7216 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.836e-05/0.5297, allocations: 6.859 kB / 0.7216 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.5297, allocations: 5.438 kB / 0.7216 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.5298, allocations: 88.11 kB / 0.7217 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.5298, allocations: 0 / 0.7217 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0002103/0.53, allocations: 73.22 kB / 0.7217 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.5301, allocations: 53.47 kB / 0.7218 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.5302, allocations: 108.8 kB / 0.7219 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.5302, allocations: 28.11 kB / 0.7219 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.5303, allocations: 87.61 kB / 0.722 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.5303, allocations: 9.844 kB / 0.722 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.5304, allocations: 33.44 kB / 0.722 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5306, allocations: 317.3 kB / 0.7223 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.5307, allocations: 57.08 kB / 0.7224 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.5308, allocations: 77.56 kB / 0.7225 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.5309, allocations: 83.75 kB / 0.7226 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5309, allocations: 0 / 0.7226 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002938/0.5312, allocations: 177 kB / 0.7227 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.5313, allocations: 42.56 kB / 0.7228 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5313, allocations: 0 / 0.7228 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.5313, allocations: 1.812 kB / 0.7228 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.719e-05/0.5313, allocations: 1.938 kB / 0.7228 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.5313, allocations: 1.531 kB / 0.7228 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.5315, allocations: 36.83 kB / 0.7228 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.5316, allocations: 5.281 kB / 0.7228 GB, free: 14.48 MB / 0.6231 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 0.0001126/0.5317, allocations: 118.3 kB / 0.7229 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.5317, allocations: 9.219 kB / 0.7229 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.5317, allocations: 6.156 kB / 0.7229 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5317, allocations: 0.5625 kB / 0.7229 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5317, allocations: 1.281 kB / 0.7229 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5317, allocations: 0.6562 kB / 0.7229 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.5319, allocations: 106.4 kB / 0.723 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5319, allocations: 7.938 kB / 0.7231 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.5319, allocations: 5.938 kB / 0.7231 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.5319, allocations: 0 / 0.7231 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5319, allocations: 1.125 kB / 0.7231 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.5319, allocations: 0.7031 kB / 0.7231 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5319, allocations: 0 / 0.7231 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.532, allocations: 86.25 kB / 0.7231 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.5321, allocations: 9.828 kB / 0.7231 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.5321, allocations: 1.688 kB / 0.7232 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.601e-05/0.5321, allocations: 1.656 kB / 0.7232 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.5321, allocations: 2.562 kB / 0.7232 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.5321, allocations: 6.312 kB / 0.7232 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.207e-05/0.5322, allocations: 90.58 kB / 0.7232 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5322, allocations: 0 / 0.7232 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00021/0.5324, allocations: 13.81 kB / 0.7233 GB, free: 14.04 MB / 0.6231 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.0001413/0.5325, allocations: 97.97 kB / 0.7234 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.5328, allocations: 141.3 kB / 0.7235 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5328, allocations: 0 / 0.7235 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.5328, allocations: 7.859 kB / 0.7235 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.533, allocations: 11.02 kB / 0.7235 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.5334, allocations: 126.3 kB / 0.7236 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.98e-05/0.5334, allocations: 66.36 kB / 0.7237 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.989e-05/0.5334, allocations: 3.625 kB / 0.7237 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.5335, allocations: 10.12 kB / 0.7237 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.5335, allocations: 0 / 0.7237 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.004449/0.5379, allocations: 1.184 MB / 0.7249 GB, free: 13.48 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.086159527301788] Failed to read output from testmodel.py, exit status != 0: 0.5467421244829893 0.56116758 0.029765780000000002 Calling exit ...