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.001535/0.001535, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001929/0.001929, allocations: 215.3 kB / 22.25 MB, free: 5.082 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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 1.264/1.264, allocations: 203.8 MB / 0.5041 GB, free: 4.93 MB / 414.1 MB " [Timeout remaining time 178] 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: 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.002167/0.002167, allocations: 67.91 kB / 0.7187 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6482/0.6503, allocations: 102 MB / 0.8183 GB, free: 29.2 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002028/0.6524, allocations: 0.6774 MB / 0.819 GB, free: 28.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.654, allocations: 1.119 MB / 0.8201 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.654, allocations: 0.875 kB / 0.8201 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.654, allocations: 3.938 kB / 0.8201 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.6541, allocations: 10.05 kB / 0.8201 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.6545, allocations: 51.42 kB / 0.8201 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.6546, allocations: 76.38 kB / 0.8202 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.6547, allocations: 6.078 kB / 0.8202 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.6548, allocations: 27.91 kB / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.6549, allocations: 37.14 kB / 0.8203 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.6549, allocations: 6.594 kB / 0.8203 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.149e-05/0.655, allocations: 25.94 kB / 0.8203 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.655, allocations: 17.25 kB / 0.8203 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.6551, allocations: 32.03 kB / 0.8203 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.6553, allocations: 81.73 kB / 0.8204 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6553, allocations: 0.5156 kB / 0.8204 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6553, allocations: 4.656 kB / 0.8204 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.6553, allocations: 0 / 0.8204 GB, free: 27.79 MB / 0.6387 GB 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.0006429/0.6559, allocations: 322.6 kB / 0.8207 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.656, allocations: 10.25 kB / 0.8207 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.6561, allocations: 10.58 kB / 0.8208 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.6562, allocations: 112 kB / 0.8209 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.6562, allocations: 8.125 kB / 0.8209 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.6562, allocations: 5.609 kB / 0.8209 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.6565, allocations: 83.17 kB / 0.821 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.6565, allocations: 1.344 kB / 0.821 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.6565, allocations: 4.641 kB / 0.821 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.6565, allocations: 1.5 kB / 0.821 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.6567, allocations: 62.12 kB / 0.821 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.6572, allocations: 277.6 kB / 0.8213 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.6575, allocations: 77.41 kB / 0.8214 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.6576, allocations: 42.95 kB / 0.8214 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.6576, allocations: 2.75 kB / 0.8214 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.6578, allocations: 87.31 kB / 0.8215 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.6578, allocations: 1.094 kB / 0.8215 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0005325/0.6584, allocations: 172.7 kB / 0.8217 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.6584, allocations: 59.45 kB / 0.8217 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.6585, allocations: 117.6 kB / 0.8218 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.6585, allocations: 31.98 kB / 0.8219 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.6586, allocations: 83.97 kB / 0.8219 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.6586, allocations: 28.92 kB / 0.822 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.6586, allocations: 35.77 kB / 0.822 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.6587, allocations: 320 kB / 0.8223 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.6588, allocations: 39.22 kB / 0.8223 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.659, allocations: 60.83 kB / 0.8224 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.6593, allocations: 101.5 kB / 0.8225 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6593, allocations: 4.469 kB / 0.8225 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003709/0.6597, allocations: 141.4 kB / 0.8226 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.6597, allocations: 14.08 kB / 0.8226 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6597, allocations: 0.5312 kB / 0.8226 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6597, allocations: 1.719 kB / 0.8226 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.6599, allocations: 24.72 kB / 0.8227 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.6599, allocations: 1.406 kB / 0.8227 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.293e-05/0.6599, allocations: 19.44 kB / 0.8227 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.66, allocations: 3.25 kB / 0.8227 GB, free: 26 MB / 0.6387 GB 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 7.392e-05/0.66, allocations: 126.2 kB / 0.8228 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.66, allocations: 12.09 kB / 0.8228 GB, free: 25.87 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.6604, allocations: 139.1 kB / 0.823 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6604, allocations: 1.312 kB / 0.823 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.6604, allocations: 1.344 kB / 0.823 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6604, allocations: 4.547 kB / 0.823 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.6609, allocations: 375.4 kB / 0.8233 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6609, allocations: 4.656 kB / 0.8233 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.661, allocations: 10.91 kB / 0.8233 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.661, allocations: 1.312 kB / 0.8233 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.661, allocations: 5.219 kB / 0.8233 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.661, allocations: 1.062 kB / 0.8233 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.661, allocations: 1.156 kB / 0.8233 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.6613, allocations: 239.2 kB / 0.8236 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.6613, allocations: 11.5 kB / 0.8236 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.6613, allocations: 6.25 kB / 0.8236 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.6614, allocations: 11.91 kB / 0.8236 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.6615, allocations: 6.469 kB / 0.8236 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.6615, allocations: 7.547 kB / 0.8236 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.014e-05/0.6615, allocations: 90.64 kB / 0.8237 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6615, allocations: 0 / 0.8237 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002627/0.6618, allocations: 19.45 kB / 0.8237 GB, free: 25.22 MB / 0.6387 GB 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 0.0001477/0.6619, allocations: 108.4 kB / 0.8238 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.6623, allocations: 98.81 kB / 0.8239 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6623, allocations: 3.938 kB / 0.8239 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.6624, allocations: 41.17 kB / 0.824 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.6627, allocations: 20.69 kB / 0.824 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.6631, allocations: 157.7 kB / 0.8241 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.6632, allocations: 0.6876 MB / 0.8248 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.6633, allocations: 6.234 kB / 0.8248 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.6633, allocations: 13.86 kB / 0.8248 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.6633, allocations: 0 / 0.8248 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of Templates: time 0.004379/0.6677, allocations: 1.075 MB / 0.8259 GB, free: 24.13 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.830509632825851] Failed to read output from testmodel.py, exit status != 0: 0.6772123333066702 0.690244572 0.032047499 Calling exit ...