Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0008072/0.0008072, allocations: 100.4 kB / 19.7 MB, free: 448 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.0008963/0.0008963, allocations: 216.9 kB / 23 MB, free: 2.988 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.8504/0.8504, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7054/0.7054, allocations: 203.8 MB / 0.5049 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [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.000895/0.000895, allocations: 67 kB / 0.7194 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4351, allocations: 102 MB / 0.8191 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001283/0.4363, allocations: 0.6879 MB / 0.8197 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005782/0.4369, allocations: 0.827 MB / 0.8205 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.4369, allocations: 2.062 kB / 0.8205 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.437, allocations: 4.5 kB / 0.8205 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.437, allocations: 7.609 kB / 0.8205 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.918e-05/0.4371, allocations: 11.94 kB / 0.8206 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.979e-05/0.4372, allocations: 47.41 kB / 0.8206 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.4373, allocations: 15.09 kB / 0.8206 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.4373, allocations: 18.2 kB / 0.8206 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.528e-05/0.4374, allocations: 16.06 kB / 0.8207 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.4374, allocations: 9.188 kB / 0.8207 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-06/0.4374, allocations: 3.688 kB / 0.8207 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.4374, allocations: 10.52 kB / 0.8207 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.4374, allocations: 11.62 kB / 0.8207 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.277e-05/0.4375, allocations: 45.05 kB / 0.8207 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4375, allocations: 0 / 0.8207 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4375, allocations: 0 / 0.8207 GB, free: 88 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4375, allocations: 0 / 0.8207 GB, free: 88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003768/0.4379, allocations: 296.7 kB / 0.821 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.4379, allocations: 9 kB / 0.821 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.4379, allocations: 7.016 kB / 0.821 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.811e-05/0.438, allocations: 106.8 kB / 0.8211 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.438, allocations: 1.906 kB / 0.8211 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.438, allocations: 7.906 kB / 0.8211 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.4382, allocations: 66.91 kB / 0.8212 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4382, allocations: 4.188 kB / 0.8212 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4382, allocations: 4.594 kB / 0.8212 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4382, allocations: 0.875 kB / 0.8212 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.4384, allocations: 62.69 kB / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.4386, allocations: 211.4 kB / 0.8215 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.4389, allocations: 57.27 kB / 0.8215 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.439, allocations: 47.62 kB / 0.8216 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.439, allocations: 3.719 kB / 0.8216 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.439, allocations: 31.17 kB / 0.8216 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.439, allocations: 0 / 0.8216 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002986/0.4393, allocations: 131.6 kB / 0.8217 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.4393, allocations: 57.88 kB / 0.8218 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.4394, allocations: 109.6 kB / 0.8219 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.4394, allocations: 26.22 kB / 0.8219 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.4394, allocations: 87.66 kB / 0.822 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.4395, allocations: 14.17 kB / 0.822 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.4395, allocations: 17.42 kB / 0.822 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.4395, allocations: 313.5 kB / 0.8223 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.4396, allocations: 36.03 kB / 0.8224 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/0.4397, allocations: 30.91 kB / 0.8224 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4398, allocations: 67.06 kB / 0.8225 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4398, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001645/0.44, allocations: 108.1 kB / 0.8226 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.44, allocations: 6.031 kB / 0.8226 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.44, allocations: 4 kB / 0.8226 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.44, allocations: 0.6094 kB / 0.8226 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.4401, allocations: 16.67 kB / 0.8226 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.4401, allocations: 3.938 kB / 0.8226 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.4401, allocations: 14.92 kB / 0.8226 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.4401, allocations: 7.172 kB / 0.8226 GB, free: 14.53 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.905e-05/0.4402, allocations: 112.9 kB / 0.8227 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.4402, allocations: 9.641 kB / 0.8227 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.4402, allocations: 9.031 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4402, allocations: 5.516 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.4402, allocations: 0 / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4402, allocations: 1.031 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.417e-05/0.4403, allocations: 108.3 kB / 0.8228 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4403, allocations: 0 / 0.8228 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.4404, allocations: 24.17 kB / 0.8229 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4404, allocations: 2.031 kB / 0.8229 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.4404, allocations: 0 / 0.8229 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.4404, allocations: 0 / 0.8229 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4404, allocations: 0 / 0.8229 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.4405, allocations: 196.5 kB / 0.8231 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-06/0.4406, allocations: 11.05 kB / 0.8231 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.4406, allocations: 0 / 0.8231 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.4406, allocations: 22.19 kB / 0.8231 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.4406, allocations: 4 kB / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.4406, allocations: 1.812 kB / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.4407, allocations: 89.05 kB / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4407, allocations: 0 / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001338/0.4408, allocations: 6.875 kB / 0.8232 GB, free: 14.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.194e-05/0.4409, allocations: 91.88 kB / 0.8233 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.4411, allocations: 74 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.4411, allocations: 0 / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.4411, allocations: 35.72 kB / 0.8234 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.4413, allocations: 3.516 kB / 0.8234 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.4416, allocations: 165.5 kB / 0.8235 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.4416, allocations: 64.73 kB / 0.8236 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.4417, allocations: 9.906 kB / 0.8236 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.4417, allocations: 0 / 0.8236 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.001618/0.4433, allocations: 0.7618 MB / 0.8244 GB, free: 13.61 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.124556764028966] Failed to read output from testmodel.py, exit status != 0: 0.44889821810647845 0.458774693 0.019459142000000002 Calling exit ...