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.00177/0.00177, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001967/0.001967, allocations: 213.2 kB / 22.24 MB, free: 5.262 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.718/1.718, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.312/1.312, allocations: 203.5 MB / 0.5038 GB, free: 5.062 MB / 414.1 MB " [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: 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.00214/0.00214, allocations: 76.17 kB / 0.7182 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7226/0.7247, allocations: 102 MB / 0.8178 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0019/0.7266, allocations: 0.5715 MB / 0.8184 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.7284, allocations: 1.139 MB / 0.8195 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.7285, allocations: 4 kB / 0.8195 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.7285, allocations: 3.938 kB / 0.8195 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.8e-05/0.7286, allocations: 3.938 kB / 0.8195 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.7291, allocations: 114.4 kB / 0.8196 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.7293, allocations: 95.77 kB / 0.8197 GB, free: 468 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.7294, allocations: 0 / 0.8197 GB, free: 468 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.383e-05/0.7295, allocations: 43.89 kB / 0.8198 GB, free: 424 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.7296, allocations: 19.97 kB / 0.8198 GB, free: 404 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.7296, allocations: 12 kB / 0.8198 GB, free: 392 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.7297, allocations: 19.98 kB / 0.8198 GB, free: 372 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.7297, allocations: 11.92 kB / 0.8198 GB, free: 360 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.7297, allocations: 23.98 kB / 0.8198 GB, free: 336 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.7299, allocations: 87.58 kB / 0.8199 GB, free: 252 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7299, allocations: 0 / 0.8199 GB, free: 252 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7299, allocations: 0 / 0.8199 GB, free: 252 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.7299, allocations: 0 / 0.8199 GB, free: 252 kB / 0.5919 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.0005219/0.7305, allocations: 298.6 kB / 0.8202 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.7305, allocations: 8.031 kB / 0.8202 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.7305, allocations: 8.891 kB / 0.8202 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.7307, allocations: 122.4 kB / 0.8203 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.7307, allocations: 384 / 0.8203 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.7307, allocations: 8.375 kB / 0.8204 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.7308, allocations: 63.95 kB / 0.8204 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.7308, allocations: 192 / 0.8204 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.7309, allocations: 7.922 kB / 0.8204 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.7309, allocations: 0 / 0.8204 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.221e-05/0.7309, allocations: 4 kB / 0.8204 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.7313, allocations: 220.6 kB / 0.8206 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/0.7313, allocations: 26.45 kB / 0.8207 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.7314, allocations: 16.92 kB / 0.8207 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.7314, allocations: 3.938 kB / 0.8207 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.7316, allocations: 85.09 kB / 0.8208 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.7316, allocations: 0 / 0.8208 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002016/0.7318, allocations: 61.58 kB / 0.8208 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.7318, allocations: 59.41 kB / 0.8209 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.7319, allocations: 105.8 kB / 0.821 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.732, allocations: 25.7 kB / 0.821 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.732, allocations: 84.14 kB / 0.8211 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.732, allocations: 11.94 kB / 0.8211 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.7321, allocations: 33.7 kB / 0.8211 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.7323, allocations: 314.8 kB / 0.8214 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.7324, allocations: 57.69 kB / 0.8215 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.7326, allocations: 80.56 kB / 0.8216 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.7327, allocations: 84.2 kB / 0.8216 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.7327, allocations: 7.938 kB / 0.8216 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003019/0.733, allocations: 176.9 kB / 0.8218 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.7331, allocations: 41.69 kB / 0.8219 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.7331, allocations: 4.094 kB / 0.8219 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.7331, allocations: 0 / 0.8219 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.098e-05/0.7331, allocations: 4 kB / 0.8219 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.7331, allocations: 0 / 0.8219 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.7334, allocations: 27.92 kB / 0.8219 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.7334, allocations: 7.984 kB / 0.8219 GB, free: 13.98 MB / 0.6075 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.0001195/0.7335, allocations: 125.8 kB / 0.822 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.7335, allocations: 3.938 kB / 0.822 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.7335, allocations: 8 kB / 0.822 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.7335, allocations: 0 / 0.822 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7335, allocations: 4 kB / 0.822 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7335, allocations: 0 / 0.822 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.7337, allocations: 105.3 kB / 0.8221 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7337, allocations: 0 / 0.8221 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.7337, allocations: 3.938 kB / 0.8221 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7337, allocations: 0 / 0.8221 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.7337, allocations: 4 kB / 0.8221 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7337, allocations: 3.938 kB / 0.8221 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7337, allocations: 0 / 0.8221 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.7338, allocations: 93.28 kB / 0.8222 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.7338, allocations: 3.938 kB / 0.8222 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.7338, allocations: 0 / 0.8222 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.808e-05/0.7339, allocations: 4 kB / 0.8222 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.7339, allocations: 7.984 kB / 0.8222 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.7339, allocations: 3.938 kB / 0.8223 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.734, allocations: 83.28 kB / 0.8223 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.734, allocations: 0 / 0.8223 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002176/0.7342, allocations: 16 kB / 0.8223 GB, free: 13.46 MB / 0.6075 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.0001562/0.7343, allocations: 103.4 kB / 0.8224 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.7346, allocations: 137.1 kB / 0.8226 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7346, allocations: 0 / 0.8226 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.7346, allocations: 15.92 kB / 0.8226 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.7349, allocations: 15.06 kB / 0.8226 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.7352, allocations: 123.4 kB / 0.8227 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.913e-05/0.7353, allocations: 63.25 kB / 0.8228 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.383e-05/0.7353, allocations: 7.938 kB / 0.8228 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.7353, allocations: 11.62 kB / 0.8228 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.7353, allocations: 0 / 0.8228 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of Templates: time 0.004339/0.7397, allocations: 1.184 MB / 0.824 GB, free: 11.77 MB / 0.6075 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: 7.207320552319288] Failed to read output from testmodel.py, exit status != 0: 0.748889984562993 0.764802145 0.031538515 Calling exit ...