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.0008271/0.0008271, allocations: 115 kB / 19.7 MB, free: 0.5312 MB / 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.0008989/0.0008989, allocations: 203.2 kB / 23 MB, free: 3.129 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.8936/0.8936, allocations: 230.6 MB / 256.8 MB, free: 3.543 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.7572/0.7572, allocations: 203.8 MB / 0.5049 GB, free: 0.6836 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.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.0008893/0.0008893, allocations: 67.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4362, allocations: 102 MB / 0.8191 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001473/0.4377, allocations: 0.6796 MB / 0.8197 GB, free: 24.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.4388, allocations: 1.12 MB / 0.8208 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.4388, allocations: 3.938 kB / 0.8208 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.4388, allocations: 4.641 kB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-05/0.4389, allocations: 10.86 kB / 0.8208 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.4392, allocations: 53.95 kB / 0.8209 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.4393, allocations: 65.23 kB / 0.821 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.4394, allocations: 10.95 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.316e-05/0.4394, allocations: 27.92 kB / 0.821 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.4395, allocations: 32.97 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.4395, allocations: 6.469 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.935e-05/0.4396, allocations: 32.14 kB / 0.8211 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.4396, allocations: 14.3 kB / 0.8211 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.4397, allocations: 38.05 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.4398, allocations: 75.03 kB / 0.8212 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.4398, allocations: 0.8438 kB / 0.8212 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4398, allocations: 0.6875 kB / 0.8212 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4398, allocations: 0 / 0.8212 GB, free: 23.86 MB / 0.6355 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.000427/0.4402, allocations: 317.4 kB / 0.8215 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4403, allocations: 15.03 kB / 0.8215 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.4404, allocations: 15.92 kB / 0.8215 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.114e-05/0.4404, allocations: 111.1 kB / 0.8216 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.4404, allocations: 7.594 kB / 0.8216 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.4405, allocations: 10.03 kB / 0.8216 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.4406, allocations: 78.73 kB / 0.8217 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4406, allocations: 4.172 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4406, allocations: 6.344 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4406, allocations: 1.094 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.4408, allocations: 55.89 kB / 0.8218 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.4411, allocations: 277.7 kB / 0.822 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.4413, allocations: 80.95 kB / 0.8221 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.4413, allocations: 38 kB / 0.8222 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.4414, allocations: 1.531 kB / 0.8222 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.4415, allocations: 99 kB / 0.8223 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.4415, allocations: 0.5938 kB / 0.8223 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003113/0.4418, allocations: 172.6 kB / 0.8224 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.4418, allocations: 59.36 kB / 0.8225 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.933e-05/0.4419, allocations: 109.1 kB / 0.8226 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.4419, allocations: 32.19 kB / 0.8226 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.4419, allocations: 91.42 kB / 0.8227 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.4419, allocations: 29.92 kB / 0.8227 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.442, allocations: 31.12 kB / 0.8228 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.457e-05/0.442, allocations: 319.5 kB / 0.8231 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.4421, allocations: 36.34 kB / 0.8231 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.149e-05/0.4422, allocations: 67.92 kB / 0.8232 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.4423, allocations: 102 kB / 0.8233 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4423, allocations: 0.7188 kB / 0.8233 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002001/0.4425, allocations: 141.4 kB / 0.8234 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4425, allocations: 6.094 kB / 0.8234 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4425, allocations: 1.219 kB / 0.8234 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4425, allocations: 5.625 kB / 0.8234 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.4426, allocations: 20.3 kB / 0.8234 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.4426, allocations: 1.062 kB / 0.8234 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.4427, allocations: 14.77 kB / 0.8234 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4427, allocations: 8.688 kB / 0.8234 GB, free: 22.05 MB / 0.6355 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 5.756e-05/0.4427, allocations: 130 kB / 0.8236 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.4427, allocations: 7.906 kB / 0.8236 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.443, allocations: 142.8 kB / 0.8237 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.443, allocations: 1.688 kB / 0.8237 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.443, allocations: 1.453 kB / 0.8237 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.443, allocations: 1.75 kB / 0.8237 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.4433, allocations: 386.6 kB / 0.8241 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4433, allocations: 5.078 kB / 0.8241 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.4434, allocations: 10.47 kB / 0.8241 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4434, allocations: 1.766 kB / 0.8241 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.4434, allocations: 0.7812 kB / 0.8241 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4434, allocations: 1.891 kB / 0.8241 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4434, allocations: 0.5938 kB / 0.8241 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.4436, allocations: 242.6 kB / 0.8243 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.4436, allocations: 11.77 kB / 0.8243 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4436, allocations: 1.594 kB / 0.8243 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/0.4437, allocations: 12.7 kB / 0.8244 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.4437, allocations: 6.125 kB / 0.8244 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4437, allocations: 7.812 kB / 0.8244 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.019e-05/0.4437, allocations: 90.33 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4437, allocations: 4 kB / 0.8245 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001627/0.4439, allocations: 16.2 kB / 0.8245 GB, free: 21.26 MB / 0.6355 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.0001012/0.444, allocations: 110.7 kB / 0.8246 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.4442, allocations: 90.42 kB / 0.8247 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4442, allocations: 0 / 0.8247 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.814e-05/0.4443, allocations: 53.58 kB / 0.8247 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.4445, allocations: 11.61 kB / 0.8247 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.4447, allocations: 185.9 kB / 0.8249 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.91e-05/0.4448, allocations: 0.6871 MB / 0.8256 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.4448, allocations: 12.5 kB / 0.8256 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.4448, allocations: 0 / 0.8256 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.002632/0.4475, allocations: 1.103 MB / 0.8267 GB, free: 20.16 MB / 0.6355 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.388267904985696] Failed to read output from testmodel.py, exit status != 0: 0.452561552869156 0.46006322600000005 0.018535887 Calling exit ...