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.0007838/0.0007838, allocations: 84.44 kB / 19.91 MB, free: 0 / 13.93 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.0007902/0.0007902, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8896/0.8896, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7213/0.7213, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009433/0.0009433, allocations: 63.91 kB / 0.6195 GB, free: 13.18 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.489, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001245/0.4902, allocations: 0.5806 MB / 0.7196 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009036/0.4911, allocations: 1.144 MB / 0.7208 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.4912, allocations: 0 / 0.7208 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.4912, allocations: 1.094 kB / 0.7208 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-05/0.4913, allocations: 9.734 kB / 0.7208 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.4916, allocations: 125.9 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.4918, allocations: 86.19 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.27e-05/0.4918, allocations: 11.31 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.4919, allocations: 50.91 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.492, allocations: 22.47 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.492, allocations: 7.438 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.416e-05/0.4921, allocations: 25.34 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.4921, allocations: 5.984 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.4921, allocations: 22.77 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.4923, allocations: 100.8 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4923, allocations: 4 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4923, allocations: 1.188 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.4923, allocations: 0 / 0.7212 GB, free: 22.25 MB / 0.6355 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.0003374/0.4926, allocations: 299.6 kB / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4927, allocations: 9.438 kB / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.4927, allocations: 9 kB / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.51e-05/0.4928, allocations: 111 kB / 0.7216 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4928, allocations: 10.53 kB / 0.7216 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.4928, allocations: 5.234 kB / 0.7216 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.11e-05/0.4929, allocations: 64.98 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.4929, allocations: 4.188 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.4929, allocations: 4.5 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4929, allocations: 1.125 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.824e-05/0.4929, allocations: 12.25 kB / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.4932, allocations: 218.6 kB / 0.7219 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.024e-05/0.4932, allocations: 17.84 kB / 0.7219 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.189e-05/0.4932, allocations: 15.78 kB / 0.722 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.4932, allocations: 5.031 kB / 0.722 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.333e-05/0.4933, allocations: 84.62 kB / 0.722 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.4933, allocations: 4 kB / 0.722 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000159/0.4935, allocations: 65.08 kB / 0.7221 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.4935, allocations: 53.53 kB / 0.7222 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/0.4935, allocations: 112.4 kB / 0.7223 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.4936, allocations: 29.09 kB / 0.7223 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.4936, allocations: 83.7 kB / 0.7224 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.4936, allocations: 5.938 kB / 0.7224 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.4936, allocations: 29.48 kB / 0.7224 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.279e-05/0.4937, allocations: 317.8 kB / 0.7227 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.4937, allocations: 59.84 kB / 0.7228 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.898e-05/0.4938, allocations: 81.38 kB / 0.7228 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.4938, allocations: 84.64 kB / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4938, allocations: 0 / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001621/0.494, allocations: 180.7 kB / 0.7231 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.494, allocations: 33.69 kB / 0.7231 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.494, allocations: 1.703 kB / 0.7231 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.494, allocations: 1.094 kB / 0.7231 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.449e-05/0.4941, allocations: 1.672 kB / 0.7231 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.4941, allocations: 1.219 kB / 0.7231 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.4942, allocations: 40.97 kB / 0.7232 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.4942, allocations: 6.156 kB / 0.7232 GB, free: 20.35 MB / 0.6355 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 4.306e-05/0.4943, allocations: 113.4 kB / 0.7233 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.4943, allocations: 6.094 kB / 0.7233 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.4943, allocations: 9.812 kB / 0.7233 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4943, allocations: 0 / 0.7233 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4943, allocations: 1.062 kB / 0.7233 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.4943, allocations: 5.656 kB / 0.7233 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.4943, allocations: 5.75 kB / 0.7233 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.4943, allocations: 1.828 kB / 0.7233 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.4943, allocations: 3.172 kB / 0.7233 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.823e-05/0.4944, allocations: 138.7 kB / 0.7235 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 5.939e-05/0.4945, allocations: 227.7 kB / 0.7237 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.938e-05/0.4945, allocations: 5.812 kB / 0.7237 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.854e-05/0.4945, allocations: 89.55 kB / 0.7238 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of Backend: time 1.2e-07/0.4945, allocations: 0 / 0.7238 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.4948, allocations: 208.6 kB / 0.724 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0002818/0.4951, allocations: 0.577 MB / 0.7245 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.002603/0.4977, allocations: 1.216 MB / 0.7257 GB, free: 18.88 MB / 0.6355 GB " [Timeout remaining time 659] 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.184011033037677] Failed to read output from testmodel.py, exit status != 0: 0.5024342769756913 0.511882174 0.017820642 Calling exit ...