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.0007064/0.0007064, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007066/0.0007066, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8169/0.8169, allocations: 177.1 MB / 203.5 MB, free: 5.75 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-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 0.671/0.671, allocations: 154.6 MB / 414.5 MB, free: 0.8281 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.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.303e-06/1.303e-06, allocations: 0 / 0.6192 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.801e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0009944/0.001012, allocations: 0.5868 MB / 0.6198 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.002229, allocations: 1.124 MB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.002263, allocations: 0 / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.002288, allocations: 3.938 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.00234, allocations: 7.922 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.00269, allocations: 127 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.002806, allocations: 91.83 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.538e-05/0.002881, allocations: 7.984 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.002951, allocations: 43.95 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.003028, allocations: 23.97 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.003045, allocations: 8 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.118e-05/0.003097, allocations: 19.98 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.003114, allocations: 7.922 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.003154, allocations: 23.98 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.003279, allocations: 99.77 kB / 0.6214 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003281, allocations: 0 / 0.6214 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003281, allocations: 0 / 0.6214 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.003285, allocations: 4 kB / 0.6214 GB, free: 11.08 MB / 0.5886 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.000327/0.003612, allocations: 296 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.003644, allocations: 17.41 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.003679, allocations: 4.938 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.493e-05/0.003754, allocations: 113.7 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.003767, allocations: 4.375 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.003781, allocations: 4.375 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.967e-05/0.00386, allocations: 59.95 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003867, allocations: 4.125 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.003876, allocations: 8.375 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.00388, allocations: 4.375 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.779e-05/0.003898, allocations: 11.88 kB / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.004149, allocations: 216.6 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.453e-05/0.004183, allocations: 18.58 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.083e-05/0.004194, allocations: 4.859 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.0042, allocations: 0 / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.888e-05/0.004299, allocations: 93.05 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.0043, allocations: 0 / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001417/0.004442, allocations: 69.61 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.004472, allocations: 55.39 kB / 0.6223 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.004527, allocations: 113.8 kB / 0.6224 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.004544, allocations: 29.7 kB / 0.6224 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.004577, allocations: 84.14 kB / 0.6225 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.727e-06/0.004586, allocations: 7.953 kB / 0.6225 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.004627, allocations: 29.7 kB / 0.6226 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.004696, allocations: 310.8 kB / 0.6229 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.744e-05/0.004753, allocations: 61.67 kB / 0.6229 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.004814, allocations: 84.2 kB / 0.623 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.326e-05/0.004877, allocations: 80.27 kB / 0.6231 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004879, allocations: 4.312 kB / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001578/0.005037, allocations: 180.9 kB / 0.6232 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.005061, allocations: 33.64 kB / 0.6233 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.005066, allocations: 8 kB / 0.6233 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.005077, allocations: 240 / 0.6233 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.324e-05/0.00509, allocations: 3.938 kB / 0.6233 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.005096, allocations: 7.984 kB / 0.6233 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.005215, allocations: 27.97 kB / 0.6233 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.005226, allocations: 8.094 kB / 0.6233 GB, free: 8.812 MB / 0.5886 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.719e-05/0.005284, allocations: 114.8 kB / 0.6234 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-06/0.005291, allocations: 11.98 kB / 0.6235 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.772e-05/0.005309, allocations: 7.938 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.005311, allocations: 0 / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.005316, allocations: 3.984 kB / 0.6235 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005319, allocations: 0 / 0.6235 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.92e-05/0.005378, allocations: 105.3 kB / 0.6236 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.00538, allocations: 3.984 kB / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-06/0.005382, allocations: 0 / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.005384, allocations: 4 kB / 0.6236 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.005389, allocations: 0 / 0.6236 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.00539, allocations: 3.938 kB / 0.6236 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005391, allocations: 3.938 kB / 0.6236 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.319e-05/0.005454, allocations: 85.02 kB / 0.6237 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.00546, allocations: 4 kB / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.00547, allocations: 3.984 kB / 0.6237 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.005477, allocations: 3.938 kB / 0.6237 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.005496, allocations: 0 / 0.6237 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.0055, allocations: 4 kB / 0.6237 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.804e-05/0.005528, allocations: 87.27 kB / 0.6238 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005528, allocations: 4 kB / 0.6238 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001347/0.005663, allocations: 16 kB / 0.6238 GB, free: 8.289 MB / 0.5886 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 9.231e-05/0.005755, allocations: 99.19 kB / 0.6239 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.005898, allocations: 141 kB / 0.624 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.0059, allocations: 4 kB / 0.624 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.005922, allocations: 4 kB / 0.624 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.006061, allocations: 12.17 kB / 0.624 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002/0.006261, allocations: 146.6 kB / 0.6242 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.371e-05/0.006294, allocations: 60.66 kB / 0.6242 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.301e-05/0.006307, allocations: 12.5 kB / 0.6242 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/0.006308, allocations: 0 / 0.6242 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of Templates: time 0.001562/0.00787, allocations: 0.9144 MB / 0.6251 GB, free: 6.84 MB / 0.5886 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: 4.65811556391418] Failed to read output from testmodel.py, exit status != 0: 0.011523722670972347 0.019260079000000003 0.014498837 Calling exit ...