Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001325/0.001325, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009875/0.0009875, allocations: 177 kB / 23.36 MB, free: 1.129 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.9857/0.9857, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.7924/0.7924, allocations: 154.9 MB / 415.1 MB, free: 232 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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 480.3 MB, free: 6.562 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.455e-05, allocations: 2.312 kB / 480.3 MB, free: 6.559 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001147/0.001161, allocations: 0.6822 MB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.002488, allocations: 1.144 MB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.002534, allocations: 1.094 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.00256, allocations: 7.922 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.66e-05/0.002626, allocations: 11 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.002867, allocations: 45.58 kB / 482.2 MB, free: 4.703 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.002964, allocations: 77.42 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.4e-05/0.003028, allocations: 4 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.003116, allocations: 44.16 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.003162, allocations: 21.83 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.003178, allocations: 11.94 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-05/0.003233, allocations: 28.84 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.003254, allocations: 9.953 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.003281, allocations: 26.34 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.003384, allocations: 59.8 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003385, allocations: 1.375 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003386, allocations: 0 / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.003389, allocations: 0 / 482.5 MB, free: 4.445 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003502/0.003739, allocations: 286.3 kB / 482.8 MB, free: 4.145 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.00377, allocations: 12.03 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.003844, allocations: 9.766 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.481e-05/0.003918, allocations: 117.6 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.003935, allocations: 12.92 kB / 482.9 MB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.003947, allocations: 5.625 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.004053, allocations: 78.64 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.00406, allocations: 192 / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.004068, allocations: 4.984 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.004074, allocations: 4.531 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.953e-05/0.004104, allocations: 15.94 kB / 483 MB, free: 3.867 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.004351, allocations: 176.2 kB / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.004421, allocations: 50.55 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.004439, allocations: 12.86 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.004453, allocations: 4 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.77e-05/0.00452, allocations: 68.38 kB / 483.3 MB, free: 3.523 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.004522, allocations: 1.266 kB / 483.3 MB, free: 3.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001211/0.004643, allocations: 78.45 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.004677, allocations: 59.39 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.162e-05/0.004739, allocations: 122.6 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.004754, allocations: 30.31 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.004785, allocations: 89 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.004806, allocations: 23.89 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.004844, allocations: 38.25 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.004923, allocations: 322.8 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.004939, allocations: 8.625 kB / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.004971, allocations: 37.16 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.273e-05/0.005034, allocations: 55.09 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005035, allocations: 0.75 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.332e-05/0.005119, allocations: 82.25 kB / 484.3 MB, free: 2.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.005131, allocations: 8 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.005136, allocations: 1.75 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.005147, allocations: 3.938 kB / 484.3 MB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.005223, allocations: 27.92 kB / 484.3 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.005226, allocations: 0 / 484.3 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.005254, allocations: 16.8 kB / 484.3 MB, free: 2.465 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.005261, allocations: 4 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 6.498e-05/0.005326, allocations: 114.6 kB / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.005339, allocations: 8.875 kB / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.575e-05/0.005424, allocations: 74.61 kB / 484.5 MB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.005427, allocations: 4.906 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.005429, allocations: 4 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.005433, allocations: 3.984 kB / 484.5 MB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.005614, allocations: 220 kB / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.005616, allocations: 3.984 kB / 484.8 MB, free: 2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.005646, allocations: 8 kB / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.005648, allocations: 1.188 kB / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.005655, allocations: 6 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.005656, allocations: 0 / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005657, allocations: 1.062 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.005757, allocations: 167.5 kB / 484.9 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-06/0.005765, allocations: 7.953 kB / 484.9 MB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.005778, allocations: 5.844 kB / 484.9 MB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.005822, allocations: 7.984 kB / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.005852, allocations: 11.98 kB / 485 MB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.005857, allocations: 0 / 485 MB, free: 1.777 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.407e-05/0.005871, allocations: 17.09 kB / 485 MB, free: 1.758 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005871, allocations: 0.75 kB / 485 MB, free: 1.758 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.006011, allocations: 23.94 kB / 485 MB, free: 1.734 MB / 442.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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 9.517e-05/0.006106, allocations: 91.19 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.388e-05/0.00619, allocations: 49.81 kB / 485.1 MB, free: 1.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.006194, allocations: 4 kB / 485.1 MB, free: 1.586 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/0.006229, allocations: 30.22 kB / 485.2 MB, free: 1.555 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.006354, allocations: 13.05 kB / 485.2 MB, free: 1.543 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.006709, allocations: 163.1 kB / 485.3 MB, free: 1.355 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.258e-05/0.006741, allocations: 59.34 kB / 485.4 MB, free: 1.277 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.276e-05/0.006764, allocations: 5.25 kB / 485.4 MB, free: 1.273 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.006812, allocations: 63.86 kB / 485.5 MB, free: 1.211 MB / 442.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006812, allocations: 0.5938 kB / 485.5 MB, free: 1.211 MB / 442.7 MB Notification: Performance of Templates: time 0.002509/0.009321, allocations: 1.113 MB / 486.6 MB, free: 180 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5665064030326903]