Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00132/0.00132, allocations: 82.48 kB / 19.18 MB, free: 2.363 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.001553/0.001553, allocations: 172.2 kB / 22.45 MB, free: 4.984 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.41/1.41, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.196/1.196, allocations: 154.7 MB / 413.9 MB, free: 5.16 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.6187 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/3.11e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00174/0.001771, allocations: 0.5801 MB / 0.6193 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.003455, allocations: 1.131 MB / 0.6204 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.003511, allocations: 0 / 0.6204 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.003541, allocations: 0 / 0.6204 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.315e-05/0.003614, allocations: 11.94 kB / 0.6204 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.004133, allocations: 126.5 kB / 0.6205 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.004302, allocations: 83.89 kB / 0.6206 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.004401, allocations: 11.97 kB / 0.6206 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.00451, allocations: 51.91 kB / 0.6207 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.004627, allocations: 23.91 kB / 0.6207 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.00465, allocations: 4 kB / 0.6207 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.902e-05/0.004719, allocations: 27.97 kB / 0.6207 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.004738, allocations: 0 / 0.6207 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.004798, allocations: 23.98 kB / 0.6207 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.004977, allocations: 95.77 kB / 0.6208 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004979, allocations: 4 kB / 0.6208 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.72e-07/0.00498, allocations: 4 kB / 0.6208 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.004986, allocations: 0 / 0.6208 GB, free: 2.41 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.0005536/0.00554, allocations: 300 kB / 0.6211 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.005581, allocations: 8.031 kB / 0.6211 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.005649, allocations: 8.891 kB / 0.6211 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.005776, allocations: 121.7 kB / 0.6212 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.005794, allocations: 384 / 0.6212 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.005814, allocations: 4.375 kB / 0.6213 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.005961, allocations: 67.95 kB / 0.6213 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.005972, allocations: 192 / 0.6213 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.005983, allocations: 8.312 kB / 0.6213 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005988, allocations: 4.312 kB / 0.6213 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.691e-05/0.006015, allocations: 7.938 kB / 0.6213 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.006434, allocations: 216.6 kB / 0.6215 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.991e-05/0.006494, allocations: 22.58 kB / 0.6216 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.006517, allocations: 16.91 kB / 0.6216 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.006528, allocations: 0 / 0.6216 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.006695, allocations: 92.98 kB / 0.6217 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.006697, allocations: 0 / 0.6217 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002123/0.006909, allocations: 69.61 kB / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.006963, allocations: 55.41 kB / 0.6218 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.007074, allocations: 105.8 kB / 0.6219 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.007103, allocations: 25.7 kB / 0.6219 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.007171, allocations: 92.14 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.007181, allocations: 7.891 kB / 0.622 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.007247, allocations: 29.7 kB / 0.622 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.007414, allocations: 318.8 kB / 0.6223 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.007507, allocations: 57.67 kB / 0.6224 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.007612, allocations: 76.2 kB / 0.6225 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.007737, allocations: 88.27 kB / 0.6226 GB, free: 428 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007739, allocations: 0 / 0.6226 GB, free: 428 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002881/0.008027, allocations: 184.9 kB / 0.6227 GB, free: 224 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.008071, allocations: 39.83 kB / 0.6228 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.008077, allocations: 0 / 0.6228 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.008092, allocations: 0 / 0.6228 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-05/0.00811, allocations: 4 kB / 0.6228 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.008117, allocations: 3.984 kB / 0.6228 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.008325, allocations: 28.06 kB / 0.6228 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.008345, allocations: 4 kB / 0.6228 GB, free: 140 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.0001079/0.008453, allocations: 115.7 kB / 0.6229 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.008464, allocations: 4 kB / 0.6229 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.008507, allocations: 8.141 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.008522, allocations: 3.984 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.008527, allocations: 0 / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.008533, allocations: 4 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.008642, allocations: 101.6 kB / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.008646, allocations: 3.984 kB / 0.623 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-06/0.008653, allocations: 8 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.008654, allocations: 0 / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.008664, allocations: 4 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.008668, allocations: 3.938 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.008669, allocations: 0 / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.008793, allocations: 85.02 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-06/0.0088, allocations: 3.938 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.008812, allocations: 3.984 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.65e-05/0.008829, allocations: 4.219 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.008858, allocations: 8 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.008863, allocations: 4 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.008913, allocations: 83.27 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.008914, allocations: 0 / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002037/0.009117, allocations: 20 kB / 0.6233 GB, free: 15.61 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.0001825/0.0093, allocations: 99.19 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.00955, allocations: 145 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.009552, allocations: 3.938 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.009581, allocations: 11.98 kB / 0.6235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.009791, allocations: 16.17 kB / 0.6235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.01011, allocations: 120.7 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.732e-05/0.01018, allocations: 67.28 kB / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.879e-05/0.0102, allocations: 0 / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.01022, allocations: 12.5 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.01022, allocations: 0 / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of Templates: time 0.00412/0.01434, allocations: 1.182 MB / 0.6249 GB, free: 13.94 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.589873468503356] Failed to read output from testmodel.py, exit status != 0: 0.023231318220496178 0.037792896 0.029465777000000002 Calling exit ...