Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0007561/0.0007561, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009229/0.0009229, allocations: 181 kB / 23.36 MB, free: 1.133 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.9767/0.9767, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.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-535:34: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-535:42: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.828/0.828, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.816e-05, allocations: 5.312 kB / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001424/0.001442, allocations: 0.5858 MB / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 5.145e-05/0.001494, allocations: 0.9688 kB / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.001524, allocations: 0 / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.00156, allocations: 7.938 kB / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.695e-05/0.001597, allocations: 1 kB / 481 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.192e-05/0.001649, allocations: 4 kB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.001709, allocations: 0.7656 kB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.001762, allocations: 8.609 kB / 481 MB, free: 5.902 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.001797, allocations: 5.062 kB / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.651e-05/0.001824, allocations: 0.5469 kB / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.001837, allocations: 0 / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.316e-06/0.00184, allocations: 1.156 kB / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.001854, allocations: 0.6562 kB / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.317e-05/0.001867, allocations: 0 / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.147e-05/0.001918, allocations: 1.297 kB / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00192, allocations: 4 kB / 481 MB, free: 5.895 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.001921, allocations: 1.688 kB / 481 MB, free: 5.895 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.001924, allocations: 0 / 481 MB, free: 5.895 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001805/0.002105, allocations: 219.8 kB / 481.3 MB, free: 5.656 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.002138, allocations: 8.578 kB / 481.3 MB, free: 5.648 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.657e-05/0.002155, allocations: 2.156 kB / 481.3 MB, free: 5.648 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.393e-05/0.002229, allocations: 105.8 kB / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.002237, allocations: 1.219 kB / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-06/0.002242, allocations: 1.031 kB / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.871e-05/0.00229, allocations: 36 kB / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.002296, allocations: 192 / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-06/0.002301, allocations: 384 / 481.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.002307, allocations: 4.375 kB / 481.4 MB, free: 5.477 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-06/0.002315, allocations: 8.75 kB / 481.4 MB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.002487, allocations: 287.4 kB / 481.7 MB, free: 5.176 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.784e-05/0.002565, allocations: 173.1 kB / 481.9 MB, free: 4.996 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.002594, allocations: 84.14 kB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.002617, allocations: 75.28 kB / 482 MB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.002656, allocations: 109.8 kB / 482.1 MB, free: 4.719 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.002657, allocations: 0.6562 kB / 482.1 MB, free: 4.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 4.42e-05/0.002701, allocations: 25.7 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.002747, allocations: 131.5 kB / 482.3 MB, free: 4.547 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.002809, allocations: 106.7 kB / 482.4 MB, free: 4.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.002817, allocations: 26.58 kB / 482.4 MB, free: 4.398 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.002855, allocations: 84.08 kB / 482.5 MB, free: 4.312 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-07/0.002856, allocations: 1.781 kB / 482.5 MB, free: 4.312 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.002879, allocations: 13.72 kB / 482.5 MB, free: 4.293 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.002971, allocations: 310.8 kB / 482.8 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-06/0.002974, allocations: 0.625 kB / 482.8 MB, free: 3.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-06/0.002977, allocations: 0.625 kB / 482.8 MB, free: 3.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.202e-05/0.002999, allocations: 75.28 kB / 482.9 MB, free: 3.906 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/0.003017, allocations: 75.91 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.488e-05/0.003052, allocations: 29.7 kB / 483 MB, free: 3.797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.003079, allocations: 80.89 kB / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/0.003105, allocations: 87.83 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.77e-05/0.003152, allocations: 154.6 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.205e-05/0.003175, allocations: 79.97 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.373e-05/0.003218, allocations: 163.1 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.00326, allocations: 75.28 kB / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.003282, allocations: 79.91 kB / 483.7 MB, free: 3.09 MB / 442.7 MB 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 (0): * Single equations (assignments): 0 * 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 8.546e-05/0.003367, allocations: 266.2 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.003406, allocations: 105 kB / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.003455, allocations: 111.4 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-05/0.003502, allocations: 181.2 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-05/0.003556, allocations: 184.2 kB / 484.5 MB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.458e-05/0.003611, allocations: 184.9 kB / 484.7 MB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.003754, allocations: 317.4 kB / 485 MB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.003784, allocations: 105.8 kB / 485.1 MB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.003817, allocations: 105 kB / 485.2 MB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.348e-05/0.00387, allocations: 176.9 kB / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.003922, allocations: 180.2 kB / 485.6 MB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.148e-05/0.003973, allocations: 188.9 kB / 485.8 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.383e-05/0.004027, allocations: 180.9 kB / 485.9 MB, free: 0.7461 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.004139, allocations: 300.4 kB / 486.2 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.004178, allocations: 114.1 kB / 486.3 MB, free: 320 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.004233, allocations: 176.3 kB / 486.5 MB, free: 136 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.004282, allocations: 106 kB / 486.6 MB, free: 24 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.004344, allocations: 188.6 kB / 486.8 MB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.004372, allocations: 107.5 kB / 486.9 MB, free: 15.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.181e-05/0.004384, allocations: 12.73 kB / 486.9 MB, free: 15.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004384, allocations: 4 kB / 486.9 MB, free: 15.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001356/0.004519, allocations: 0 / 486.9 MB, free: 15.7 MB / 458.7 MB 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 (0): * Single equations (assignments): 0 * 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.335e-05/0.004603, allocations: 153.3 kB / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 2.822e-05/0.004631, allocations: 8.031 kB / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.004633, allocations: 2.031 kB / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.004634, allocations: 0 / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.00484, allocations: 459.7 kB / 487.5 MB, free: 15.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001432/0.004984, allocations: 154.4 kB / 487.7 MB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.005017, allocations: 55.34 kB / 487.7 MB, free: 14.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.613e-06/0.005019, allocations: 5.281 kB / 487.7 MB, free: 14.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.005041, allocations: 51.38 kB / 487.8 MB, free: 14.78 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/0.005041, allocations: 0.9844 kB / 487.8 MB, free: 14.78 MB / 458.7 MB Notification: Performance of Templates: time 0.001236/0.006278, allocations: 178.5 kB / 488 MB, free: 14.61 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.389030685182661]