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.0007622/0.0007622, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007739/0.0007739, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8408/0.8408, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6936/0.6936, allocations: 154.6 MB / 414.5 MB, free: 0.8047 MB / 378.7 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 179] 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 1.813e-06/1.813e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.552e-05, allocations: 9.375 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001163/0.001189, allocations: 0.5751 MB / 0.6199 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.002621, allocations: 1.135 MB / 0.621 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.002661, allocations: 0 / 0.621 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.002687, allocations: 3.938 kB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.916e-05/0.002746, allocations: 11.92 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.003117, allocations: 129.8 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.003241, allocations: 83.89 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.003326, allocations: 4 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.003405, allocations: 51.89 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.816e-05/0.003484, allocations: 23.95 kB / 0.6213 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.003504, allocations: 8 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.003555, allocations: 16 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.003573, allocations: 11.98 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.003616, allocations: 31.91 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.003759, allocations: 95.77 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003761, allocations: 0 / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003762, allocations: 0 / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003767, allocations: 4 kB / 0.6214 GB, free: 11.03 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.0003746/0.004141, allocations: 296 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.004179, allocations: 15.97 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.00422, allocations: 4.938 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.391e-05/0.004294, allocations: 105.7 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.004308, allocations: 4.375 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.004323, allocations: 8.375 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/0.004417, allocations: 63.95 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.004424, allocations: 4.188 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.004433, allocations: 384 / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004438, allocations: 384 / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.004459, allocations: 7.938 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.004752, allocations: 224.5 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.576e-05/0.004797, allocations: 18.58 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.00481, allocations: 8.859 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-06/0.004817, allocations: 0 / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.004935, allocations: 101 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.004936, allocations: 4 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001617/0.005098, allocations: 61.62 kB / 0.6223 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.005131, allocations: 51.41 kB / 0.6224 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.005194, allocations: 105.8 kB / 0.6225 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.005209, allocations: 29.7 kB / 0.6225 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.005248, allocations: 92.12 kB / 0.6226 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.005257, allocations: 3.953 kB / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.005301, allocations: 33.69 kB / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.005373, allocations: 310.8 kB / 0.6229 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.005431, allocations: 61.69 kB / 0.623 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.547e-05/0.005497, allocations: 88.19 kB / 0.6231 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.061e-05/0.005577, allocations: 80.27 kB / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.00558, allocations: 0 / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001806/0.00576, allocations: 177.2 kB / 0.6233 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.005796, allocations: 47.34 kB / 0.6233 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.0058, allocations: 0 / 0.6233 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.005815, allocations: 3.984 kB / 0.6234 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.608e-05/0.005831, allocations: 4.094 kB / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.005839, allocations: 7.938 kB / 0.6234 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.005974, allocations: 24.28 kB / 0.6234 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.005987, allocations: 4 kB / 0.6234 GB, free: 8.77 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.961e-05/0.006046, allocations: 118.8 kB / 0.6235 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-06/0.006053, allocations: 8 kB / 0.6235 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.006072, allocations: 7.938 kB / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006074, allocations: 0 / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.006077, allocations: 0 / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.00608, allocations: 4 kB / 0.6235 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.179e-05/0.006142, allocations: 113.2 kB / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006143, allocations: 0 / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-06/0.006146, allocations: 0 / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.006147, allocations: 0 / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.006153, allocations: 0 / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.006155, allocations: 3.938 kB / 0.6236 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006156, allocations: 0 / 0.6236 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.263e-05/0.006229, allocations: 89 kB / 0.6237 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-06/0.006234, allocations: 7.938 kB / 0.6237 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.006243, allocations: 0 / 0.6237 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.062e-05/0.006254, allocations: 7.938 kB / 0.6237 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.006277, allocations: 7.984 kB / 0.6237 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.00628, allocations: 0 / 0.6237 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.8e-05/0.006308, allocations: 83.28 kB / 0.6238 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006308, allocations: 0 / 0.6238 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001371/0.006445, allocations: 16 kB / 0.6238 GB, free: 8.25 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 0.0001106/0.006556, allocations: 107.2 kB / 0.6239 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.006726, allocations: 133 kB / 0.6241 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.006727, allocations: 8.188 kB / 0.6241 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.006749, allocations: 8 kB / 0.6241 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.006906, allocations: 11.98 kB / 0.6241 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.007153, allocations: 142.6 kB / 0.6242 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.007188, allocations: 63.34 kB / 0.6243 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.007204, allocations: 12.5 kB / 0.6243 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of SimCode: time 7.51e-07/0.007204, allocations: 0 / 0.6243 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of Templates: time 0.001658/0.008862, allocations: 0.8981 MB / 0.6252 GB, free: 6.805 MB / 0.5886 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: 4.920221098698676] Failed to read output from testmodel.py, exit status != 0: 0.013788946904242039 0.021835409 0.016397868 Calling exit ...