Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001746/0.001746, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001837/0.001837, allocations: 167.4 kB / 22.46 MB, free: 5.359 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.578/1.578, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.299/1.299, allocations: 154.6 MB / 413.7 MB, free: 5.289 MB / 382.1 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 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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.6185 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.677e-05/3.934e-05, allocations: 6.281 kB / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001976/0.002016, allocations: 0.655 MB / 0.6191 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.003833, allocations: 1.092 MB / 0.6202 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.003884, allocations: 4 kB / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.003919, allocations: 3.938 kB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.003998, allocations: 7.922 kB / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.00435, allocations: 55.62 kB / 0.6203 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.004473, allocations: 51.86 kB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.004579, allocations: 7.984 kB / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.229e-05/0.004671, allocations: 27.97 kB / 0.6204 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.004731, allocations: 23.91 kB / 0.6204 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.004752, allocations: 4 kB / 0.6204 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.516e-05/0.004827, allocations: 16 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.004857, allocations: 19.97 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.004902, allocations: 19.92 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.005085, allocations: 67.83 kB / 0.6205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.005089, allocations: 3.938 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00509, allocations: 0 / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.005094, allocations: 0 / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007152/0.005809, allocations: 290.2 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.005855, allocations: 13.47 kB / 0.6208 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.005965, allocations: 8.938 kB / 0.6208 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.006085, allocations: 113.7 kB / 0.6209 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.006111, allocations: 4.375 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.006126, allocations: 4.375 kB / 0.6209 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.006355, allocations: 70.19 kB / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006365, allocations: 192 / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.006379, allocations: 4.375 kB / 0.621 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.006383, allocations: 4.375 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.006584, allocations: 51.83 kB / 0.621 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.007057, allocations: 220.4 kB / 0.6213 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.007254, allocations: 50.55 kB / 0.6213 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.007372, allocations: 28.97 kB / 0.6213 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.007392, allocations: 0 / 0.6213 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.007637, allocations: 79.31 kB / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.007639, allocations: 0 / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004844/0.008123, allocations: 133.6 kB / 0.6215 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.008179, allocations: 51.41 kB / 0.6216 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.999e-05/0.008279, allocations: 105.8 kB / 0.6217 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.008305, allocations: 33.7 kB / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.008369, allocations: 80.14 kB / 0.6218 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.0084, allocations: 23.84 kB / 0.6218 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.008443, allocations: 17.72 kB / 0.6218 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.008614, allocations: 322.8 kB / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.008718, allocations: 27.98 kB / 0.6222 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.008862, allocations: 60.2 kB / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.009093, allocations: 92.19 kB / 0.6223 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.009095, allocations: 0 / 0.6223 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003043/0.009399, allocations: 121.5 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.009421, allocations: 11.88 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.009428, allocations: 0 / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.009447, allocations: 4 kB / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.00957, allocations: 19.92 kB / 0.6225 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.009577, allocations: 0 / 0.6225 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.009652, allocations: 15.92 kB / 0.6225 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.009663, allocations: 4.125 kB / 0.6225 GB, free: 408 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001237/0.009787, allocations: 126.9 kB / 0.6226 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.0098, allocations: 3.938 kB / 0.6226 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.01013, allocations: 114 kB / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01013, allocations: 0 / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01013, allocations: 256 / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01014, allocations: 0 / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.01064, allocations: 310 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01064, allocations: 0 / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.01071, allocations: 11.98 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01071, allocations: 192 / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.01072, allocations: 4 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01072, allocations: 7.938 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01072, allocations: 0 / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.01107, allocations: 195.4 kB / 0.6232 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.01108, allocations: 7.953 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.0111, allocations: 11.98 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.0112, allocations: 4 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.01125, allocations: 7.984 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.01127, allocations: 0 / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.655e-05/0.01134, allocations: 91.2 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01134, allocations: 4 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002488/0.01159, allocations: 11.94 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001923/0.01178, allocations: 103.2 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.01207, allocations: 71.88 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01207, allocations: 0 / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.01219, allocations: 32.47 kB / 0.6235 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.01248, allocations: 14 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.0129, allocations: 144.3 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.4e-05/0.01298, allocations: 67.59 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.01301, allocations: 7.75 kB / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.01305, allocations: 16.5 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.01305, allocations: 0 / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of Templates: time 0.004237/0.01729, allocations: 0.8649 MB / 0.6246 GB, free: 14.09 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.243046876043081] Failed to read output from testmodel.py, exit status != 0: 0.027569841593503952 0.054933124999999944 0.04475247999999994 Calling exit ...