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.001576/0.001576, allocations: 80.84 kB / 19.18 MB, free: 2.52 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.001597/0.001597, allocations: 162.7 kB / 22.45 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.191/1.191, allocations: 154.6 MB / 413.8 MB, free: 5.238 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 2.325e-06/2.325e-06, allocations: 0 / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.738e-05, allocations: 4.672 kB / 0.6185 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001607/0.001635, allocations: 0.5735 MB / 0.6191 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.003286, allocations: 1.135 MB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.003323, allocations: 0 / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.003352, allocations: 3.984 kB / 0.6202 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.003419, allocations: 7.875 kB / 0.6202 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.003897, allocations: 123.2 kB / 0.6203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.004065, allocations: 95.83 kB / 0.6204 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.266e-05/0.004147, allocations: 3.984 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.004258, allocations: 51.91 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.403e-05/0.004352, allocations: 27.95 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.004378, allocations: 8 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-05/0.004445, allocations: 15.98 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.004465, allocations: 7.938 kB / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.004523, allocations: 27.97 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.004723, allocations: 91.84 kB / 0.6207 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004725, allocations: 0 / 0.6207 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004726, allocations: 0 / 0.6207 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.00473, allocations: 0 / 0.6207 GB, free: 2.426 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.0004943/0.005224, allocations: 296 kB / 0.6209 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.005265, allocations: 17.45 kB / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.005315, allocations: 8.891 kB / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.005437, allocations: 121.7 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.005457, allocations: 4.375 kB / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.005477, allocations: 4.375 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.005596, allocations: 67.89 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.005606, allocations: 4.125 kB / 0.6212 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.005616, allocations: 384 / 0.6212 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.005623, allocations: 4.375 kB / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.005646, allocations: 3.938 kB / 0.6212 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.006013, allocations: 224.6 kB / 0.6214 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.006081, allocations: 22.5 kB / 0.6214 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.006102, allocations: 16.91 kB / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.006111, allocations: 0 / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.006262, allocations: 89.05 kB / 0.6215 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.006264, allocations: 0 / 0.6215 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002036/0.006467, allocations: 69.56 kB / 0.6216 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.006533, allocations: 51.41 kB / 0.6216 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.876e-05/0.006632, allocations: 109.8 kB / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.006663, allocations: 29.7 kB / 0.6218 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.006739, allocations: 88.14 kB / 0.6218 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.006756, allocations: 11.95 kB / 0.6218 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.006829, allocations: 29.7 kB / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.007, allocations: 314.8 kB / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-05/0.007095, allocations: 57.69 kB / 0.6222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.007215, allocations: 80.25 kB / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.007338, allocations: 84.2 kB / 0.6224 GB, free: 440 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.00734, allocations: 0 / 0.6224 GB, free: 440 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002998/0.00764, allocations: 181 kB / 0.6226 GB, free: 240 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.007683, allocations: 41.56 kB / 0.6226 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007688, allocations: 0 / 0.6226 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.007701, allocations: 4 kB / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.687e-05/0.007718, allocations: 4 kB / 0.6226 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.007723, allocations: 0 / 0.6226 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.007931, allocations: 23.97 kB / 0.6226 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.007955, allocations: 8 kB / 0.6226 GB, free: 152 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.0001233/0.008078, allocations: 119.8 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.00809, allocations: 3.984 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.008117, allocations: 11.94 kB / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.008118, allocations: 0 / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.008121, allocations: 0 / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.008124, allocations: 0 / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.008234, allocations: 105.8 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.008235, allocations: 7.875 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-06/0.008244, allocations: 8 kB / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008246, allocations: 0 / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.008253, allocations: 0 / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.008256, allocations: 3.938 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.008258, allocations: 4 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.008377, allocations: 85.06 kB / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.008383, allocations: 0 / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.008395, allocations: 4 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.721e-05/0.008412, allocations: 3.938 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.381e-05/0.008436, allocations: 288 / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.008443, allocations: 4 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.992e-05/0.008503, allocations: 87.27 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.008503, allocations: 0 / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002101/0.008713, allocations: 16 kB / 0.6231 GB, free: 15.62 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.0001405/0.008853, allocations: 107.1 kB / 0.6232 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.009095, allocations: 141 kB / 0.6233 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.009097, allocations: 0 / 0.6233 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.009123, allocations: 8 kB / 0.6233 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.009325, allocations: 17.8 kB / 0.6233 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.009623, allocations: 120.7 kB / 0.6235 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.039e-05/0.009683, allocations: 67.53 kB / 0.6235 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.831e-05/0.009702, allocations: 4 kB / 0.6235 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.009719, allocations: 8.5 kB / 0.6235 GB, free: 15.09 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.00972, allocations: 3.938 kB / 0.6235 GB, free: 15.09 MB / 0.545 GB Notification: Performance of Templates: time 0.004023/0.01374, allocations: 1.173 MB / 0.6247 GB, free: 13.96 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.618695016950369] Failed to read output from testmodel.py, exit status != 0: 0.02271154522895813 0.038098148000000005 0.030191588000000002 Calling exit ...