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.001457/0.001457, allocations: 114.5 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.00196/0.00196, allocations: 217 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 8.031 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.254/1.254, allocations: 203.8 MB / 0.5041 GB, free: 4.926 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.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: 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.002243/0.002243, allocations: 68.72 kB / 0.7187 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.6308, allocations: 102 MB / 0.8183 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002356/0.6332, allocations: 0.6718 MB / 0.819 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.6348, allocations: 1.104 MB / 0.82 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.6349, allocations: 0 / 0.82 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.6349, allocations: 3.938 kB / 0.8201 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.635, allocations: 15.91 kB / 0.8201 GB, free: 492 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.6353, allocations: 43.83 kB / 0.8201 GB, free: 448 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.6355, allocations: 59.78 kB / 0.8202 GB, free: 388 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.632e-05/0.6355, allocations: 8 kB / 0.8202 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/0.6356, allocations: 19.98 kB / 0.8202 GB, free: 360 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.6357, allocations: 23.86 kB / 0.8202 GB, free: 336 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.6357, allocations: 7.984 kB / 0.8202 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.6358, allocations: 27.98 kB / 0.8203 GB, free: 300 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.6358, allocations: 7.984 kB / 0.8203 GB, free: 292 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.6359, allocations: 19.88 kB / 0.8203 GB, free: 272 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.636, allocations: 71.56 kB / 0.8203 GB, free: 204 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.636, allocations: 0 / 0.8203 GB, free: 204 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.636, allocations: 0 / 0.8203 GB, free: 204 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.636, allocations: 0 / 0.8203 GB, free: 204 kB / 0.5919 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.0007195/0.6367, allocations: 292.7 kB / 0.8206 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6368, allocations: 17.47 kB / 0.8206 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.78e-05/0.6369, allocations: 8.922 kB / 0.8206 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.637, allocations: 110.5 kB / 0.8208 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.637, allocations: 4.375 kB / 0.8208 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.637, allocations: 8.375 kB / 0.8208 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.6373, allocations: 62.22 kB / 0.8208 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.6373, allocations: 4.125 kB / 0.8208 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.6373, allocations: 7.938 kB / 0.8208 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6373, allocations: 0 / 0.8208 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.6375, allocations: 55.88 kB / 0.8209 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.638, allocations: 243.9 kB / 0.8211 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.6382, allocations: 66.41 kB / 0.8212 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.6383, allocations: 28.97 kB / 0.8212 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.6383, allocations: 0 / 0.8212 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.6386, allocations: 79.31 kB / 0.8213 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.6386, allocations: 0 / 0.8213 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004562/0.639, allocations: 125.6 kB / 0.8214 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.6391, allocations: 55.41 kB / 0.8215 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.6392, allocations: 109.8 kB / 0.8216 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.6392, allocations: 25.7 kB / 0.8216 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.6393, allocations: 88.05 kB / 0.8217 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.6393, allocations: 23.84 kB / 0.8217 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.6393, allocations: 21.72 kB / 0.8217 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.6395, allocations: 318.8 kB / 0.822 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.6396, allocations: 27.92 kB / 0.8221 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.6398, allocations: 60.27 kB / 0.8221 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.64, allocations: 100.1 kB / 0.8222 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.64, allocations: 0 / 0.8222 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002954/0.6403, allocations: 113.5 kB / 0.8223 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6403, allocations: 4 kB / 0.8223 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.6403, allocations: 4 kB / 0.8223 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6403, allocations: 4.125 kB / 0.8223 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.6404, allocations: 15.98 kB / 0.8223 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.6405, allocations: 4.25 kB / 0.8223 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.6405, allocations: 11.94 kB / 0.8224 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.6405, allocations: 12 kB / 0.8224 GB, free: 13.92 MB / 0.6075 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.0001215/0.6407, allocations: 128.4 kB / 0.8225 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.6407, allocations: 0 / 0.8225 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.641, allocations: 114 kB / 0.8226 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.641, allocations: 0 / 0.8226 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.641, allocations: 0 / 0.8226 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.641, allocations: 0 / 0.8226 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.6415, allocations: 337.8 kB / 0.8229 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6415, allocations: 0 / 0.8229 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.6416, allocations: 11.98 kB / 0.8229 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6416, allocations: 8 kB / 0.8229 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.6416, allocations: 0 / 0.8229 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6416, allocations: 192 / 0.8229 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6416, allocations: 80 / 0.8229 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.6419, allocations: 211.3 kB / 0.8231 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.6419, allocations: 7.953 kB / 0.8231 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.642, allocations: 0 / 0.8231 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.6421, allocations: 15.98 kB / 0.8232 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.6421, allocations: 7.984 kB / 0.8232 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.6421, allocations: 3.938 kB / 0.8232 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.018e-05/0.6422, allocations: 83.28 kB / 0.8233 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6422, allocations: 0 / 0.8233 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002582/0.6424, allocations: 12 kB / 0.8233 GB, free: 12.92 MB / 0.6075 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.0001921/0.6426, allocations: 111.2 kB / 0.8234 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.6429, allocations: 67.89 kB / 0.8234 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6429, allocations: 0 / 0.8234 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.643, allocations: 35.91 kB / 0.8235 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.6433, allocations: 10.23 kB / 0.8235 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.6438, allocations: 143.6 kB / 0.8236 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.6441, allocations: 0.6845 MB / 0.8243 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.982e-05/0.6442, allocations: 7.984 kB / 0.8243 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.6442, allocations: 11.44 kB / 0.8243 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.6442, allocations: 0 / 0.8243 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of Templates: time 0.004034/0.6483, allocations: 0.8711 MB / 0.8252 GB, free: 10.93 MB / 0.6075 GB " [Timeout remaining time 659] 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.612530721351504] Failed to read output from testmodel.py, exit status != 0: 0.6586428415030241 0.675578955 0.035680775000000005 Calling exit ...