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.0007804/0.0007804, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0007813/0.0007813, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 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.8929/0.8929, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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.729/0.729, allocations: 203.5 MB / 0.5046 GB, free: 10.73 MB / 410.7 MB " [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.000869/0.000869, allocations: 71.86 kB / 0.719 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4438, allocations: 102 MB / 0.8186 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001168/0.4449, allocations: 0.5839 MB / 0.8191 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007796/0.4457, allocations: 1.132 MB / 0.8203 GB, free: 368 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.4458, allocations: 0 / 0.8203 GB, free: 368 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.4458, allocations: 0 / 0.8203 GB, free: 368 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-05/0.4458, allocations: 8.484 kB / 0.8203 GB, free: 360 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.4462, allocations: 120.7 kB / 0.8204 GB, free: 300 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.4463, allocations: 92.17 kB / 0.8205 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.4464, allocations: 9.094 kB / 0.8205 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.4464, allocations: 35.56 kB / 0.8205 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.4465, allocations: 26.31 kB / 0.8205 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.4465, allocations: 8.031 kB / 0.8205 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.74e-05/0.4466, allocations: 21.42 kB / 0.8206 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.4466, allocations: 1.578 kB / 0.8206 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.4466, allocations: 35.33 kB / 0.8206 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.4467, allocations: 84.5 kB / 0.8207 GB, free: 176 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4467, allocations: 0 / 0.8207 GB, free: 176 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4467, allocations: 0 / 0.8207 GB, free: 176 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.4467, allocations: 4.75 kB / 0.8207 GB, free: 172 kB / 0.6042 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.0003404/0.4471, allocations: 304 kB / 0.821 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.4471, allocations: 9.062 kB / 0.821 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.4472, allocations: 8.875 kB / 0.821 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.934e-05/0.4472, allocations: 106.7 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.4472, allocations: 4.922 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.4473, allocations: 2.844 kB / 0.8211 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/0.4473, allocations: 64.98 kB / 0.8212 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4473, allocations: 0.7969 kB / 0.8212 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.4474, allocations: 3.938 kB / 0.8212 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4474, allocations: 6.219 kB / 0.8212 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.4474, allocations: 7.578 kB / 0.8212 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.4476, allocations: 225.1 kB / 0.8214 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.4477, allocations: 24.73 kB / 0.8214 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.147e-05/0.4477, allocations: 8.109 kB / 0.8214 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.4477, allocations: 3.938 kB / 0.8214 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.4478, allocations: 90.17 kB / 0.8215 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.4478, allocations: 0 / 0.8215 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001421/0.4479, allocations: 62.31 kB / 0.8216 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.448, allocations: 54.89 kB / 0.8216 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.448, allocations: 106.8 kB / 0.8217 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.448, allocations: 30.17 kB / 0.8218 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.4481, allocations: 87.52 kB / 0.8218 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.4481, allocations: 3.953 kB / 0.8218 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.4481, allocations: 29.84 kB / 0.8219 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.4482, allocations: 319.3 kB / 0.8222 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.4482, allocations: 56.48 kB / 0.8222 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.4483, allocations: 81.55 kB / 0.8223 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.577e-05/0.4484, allocations: 80.11 kB / 0.8224 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4484, allocations: 4 kB / 0.8224 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001648/0.4485, allocations: 186.5 kB / 0.8226 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.4486, allocations: 31.88 kB / 0.8226 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4486, allocations: 11.42 kB / 0.8226 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4486, allocations: 0 / 0.8226 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.355e-05/0.4486, allocations: 4.641 kB / 0.8226 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.4486, allocations: 1.125 kB / 0.8226 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.4487, allocations: 30.34 kB / 0.8226 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.4487, allocations: 10.53 kB / 0.8227 GB, free: 14.28 MB / 0.6198 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.591e-05/0.4488, allocations: 115.6 kB / 0.8228 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.4488, allocations: 7.781 kB / 0.8228 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.4488, allocations: 4.609 kB / 0.8228 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4488, allocations: 1.078 kB / 0.8228 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.4488, allocations: 0 / 0.8228 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.4488, allocations: 3.984 kB / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.814e-05/0.4489, allocations: 107.9 kB / 0.8229 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.4489, allocations: 0 / 0.8229 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-06/0.4489, allocations: 4.547 kB / 0.8229 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.4489, allocations: 4 kB / 0.8229 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.4489, allocations: 2.859 kB / 0.8229 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.4489, allocations: 0 / 0.8229 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4489, allocations: 0 / 0.8229 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.378e-05/0.449, allocations: 86.66 kB / 0.823 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.449, allocations: 11.84 kB / 0.823 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.449, allocations: 0.5625 kB / 0.823 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-06/0.449, allocations: 4.594 kB / 0.823 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.449, allocations: 2.5 kB / 0.823 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.449, allocations: 1.062 kB / 0.823 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.449, allocations: 90.92 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.449, allocations: 0 / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001325/0.4492, allocations: 14.75 kB / 0.8231 GB, free: 13.84 MB / 0.6198 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 8.924e-05/0.4493, allocations: 107.6 kB / 0.8232 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.4494, allocations: 139.1 kB / 0.8233 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4494, allocations: 0 / 0.8233 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.4494, allocations: 7.719 kB / 0.8233 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.4496, allocations: 10.91 kB / 0.8233 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.4498, allocations: 154.2 kB / 0.8235 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.689e-05/0.4498, allocations: 65.36 kB / 0.8236 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.4498, allocations: 12.75 kB / 0.8236 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.4498, allocations: 0 / 0.8236 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.001682/0.4515, allocations: 0.9015 MB / 0.8244 GB, free: 13.31 MB / 0.6198 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.46543252794072] Failed to read output from testmodel.py, exit status != 0: 0.4564971080981195 0.46536855000000005 0.016858534 Calling exit ...