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.001314/0.001314, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001402/0.001402, allocations: 162.3 kB / 22.46 MB, free: 5.375 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.435/1.435, allocations: 177.1 MB / 202.8 MB, free: 9.16 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.231/1.231, allocations: 154.5 MB / 413.7 MB, free: 5.27 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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.096e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002587/0.002618, allocations: 0.5757 MB / 0.6191 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.005148, allocations: 1.125 MB / 0.6201 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.005199, allocations: 0 / 0.6201 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.005228, allocations: 3.938 kB / 0.6202 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.343e-05/0.005312, allocations: 7.938 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00078/0.006092, allocations: 130.7 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.006321, allocations: 91.77 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.006418, allocations: 11.98 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.006559, allocations: 47.95 kB / 0.6204 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.006676, allocations: 19.97 kB / 0.6204 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.006714, allocations: 8 kB / 0.6205 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.006812, allocations: 19.98 kB / 0.6205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.006838, allocations: 8.656 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.267e-05/0.006921, allocations: 23.97 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.007167, allocations: 100.8 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.007169, allocations: 0 / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.91e-07/0.00717, allocations: 0 / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.007174, allocations: 0.5938 kB / 0.6206 GB, free: 2.504 MB / 0.5294 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.000586/0.00776, allocations: 301 kB / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.007812, allocations: 9.469 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.007874, allocations: 8.891 kB / 0.6209 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.008003, allocations: 113.7 kB / 0.621 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.008028, allocations: 8.359 kB / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.008063, allocations: 4.375 kB / 0.621 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.008214, allocations: 63.97 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.008225, allocations: 4.125 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.00825, allocations: 4.359 kB / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.008256, allocations: 384 / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.861e-05/0.008295, allocations: 15.88 kB / 0.6211 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.008784, allocations: 216.6 kB / 0.6213 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.008e-05/0.008864, allocations: 22.58 kB / 0.6213 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.008893, allocations: 12.92 kB / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.008903, allocations: 0 / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.009117, allocations: 92.98 kB / 0.6214 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 5.701e-06/0.009123, allocations: 3.984 kB / 0.6214 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003232/0.009446, allocations: 65.62 kB / 0.6215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.009513, allocations: 55.39 kB / 0.6216 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.009662, allocations: 101.9 kB / 0.6217 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.009712, allocations: 33.69 kB / 0.6217 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.009819, allocations: 88.14 kB / 0.6218 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.009839, allocations: 11.94 kB / 0.6218 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.009954, allocations: 33.7 kB / 0.6218 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.01017, allocations: 314.8 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.01033, allocations: 57.67 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.0105, allocations: 84.2 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.01068, allocations: 76.27 kB / 0.6223 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01068, allocations: 3.938 kB / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004524/0.01113, allocations: 180.9 kB / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.01119, allocations: 37.73 kB / 0.6225 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.0112, allocations: 4 kB / 0.6225 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.01122, allocations: 4 kB / 0.6225 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.832e-05/0.01124, allocations: 0 / 0.6225 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.01124, allocations: 7.922 kB / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.01151, allocations: 23.97 kB / 0.6226 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.01154, allocations: 11.98 kB / 0.6226 GB, free: 228 kB / 0.5294 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.0001223/0.01166, allocations: 114.8 kB / 0.6227 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.01167, allocations: 0 / 0.6227 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.01171, allocations: 15.94 kB / 0.6227 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01172, allocations: 0 / 0.6227 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.01172, allocations: 0 / 0.6227 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.01173, allocations: 3.984 kB / 0.6227 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.01189, allocations: 105.3 kB / 0.6228 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01189, allocations: 0 / 0.6228 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.545e-05/0.01191, allocations: 8.297 kB / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01191, allocations: 0 / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.01193, allocations: 8 kB / 0.6228 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.01193, allocations: 3.938 kB / 0.6228 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01193, allocations: 0 / 0.6228 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.0121, allocations: 85.02 kB / 0.6229 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-06/0.01211, allocations: 0 / 0.6229 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.01213, allocations: 4 kB / 0.6229 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.541e-05/0.01218, allocations: 11.92 kB / 0.6229 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.01221, allocations: 0 / 0.6229 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.01223, allocations: 4 kB / 0.6229 GB, free: 15.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.673e-05/0.0123, allocations: 79.28 kB / 0.623 GB, free: 15.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.0123, allocations: 0 / 0.623 GB, free: 15.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003889/0.01269, allocations: 23.98 kB / 0.623 GB, free: 15.7 MB / 0.545 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.0001819/0.01287, allocations: 103.2 kB / 0.6231 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.01319, allocations: 133 kB / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01319, allocations: 0 / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.01324, allocations: 15.98 kB / 0.6233 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.01354, allocations: 6.719 kB / 0.6233 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.01389, allocations: 124.7 kB / 0.6234 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.333e-05/0.01396, allocations: 63.34 kB / 0.6235 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.799e-05/0.01399, allocations: 12.11 kB / 0.6235 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.01401, allocations: 12.5 kB / 0.6235 GB, free: 15.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.01401, allocations: 0 / 0.6235 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Templates: time 0.00576/0.01977, allocations: 1.165 MB / 0.6246 GB, free: 14.04 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8299751579761505] Failed to read output from testmodel.py, exit status != 0: 0.032319407910108566 0.048515137 0.03800868 Calling exit ...