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.001334/0.001334, allocations: 75.48 kB / 19.16 MB, free: 2.566 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.001394/0.001394, allocations: 169.3 kB / 22.44 MB, free: 5.309 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.411/1.411, allocations: 177.2 MB / 202.8 MB, free: 9.219 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.157/1.157, allocations: 155 MB / 414.2 MB, free: 4.938 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: 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.002031/0.002031, allocations: 77.05 kB / 0.6191 GB, free: 4.191 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.5558, allocations: 102 MB / 0.7187 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.00168/0.5575, allocations: 0.6656 MB / 0.7194 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.5586, allocations: 1.099 MB / 0.7204 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.5586, allocations: 0 / 0.7204 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.5587, allocations: 0.6562 kB / 0.7204 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.5587, allocations: 9.812 kB / 0.7204 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.559, allocations: 48.84 kB / 0.7205 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.002e-05/0.5591, allocations: 47.14 kB / 0.7205 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.5592, allocations: 13.62 kB / 0.7206 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.5593, allocations: 32.45 kB / 0.7206 GB, free: 500 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.5593, allocations: 20.61 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.5593, allocations: 3.844 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.5594, allocations: 27.88 kB / 0.7206 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.5594, allocations: 13.33 kB / 0.7206 GB, free: 472 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.5595, allocations: 23.12 kB / 0.7207 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.5596, allocations: 66.45 kB / 0.7207 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5596, allocations: 4 kB / 0.7207 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5596, allocations: 0.6094 kB / 0.7207 GB, free: 428 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5596, allocations: 7.938 kB / 0.7207 GB, free: 420 kB / 0.6075 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.0004973/0.5601, allocations: 291.3 kB / 0.721 GB, free: 136 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.5601, allocations: 9.797 kB / 0.721 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.595e-05/0.5602, allocations: 5.406 kB / 0.721 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.254e-05/0.5603, allocations: 113.6 kB / 0.7211 GB, free: 0 / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.5603, allocations: 3.672 kB / 0.7211 GB, free: 0 / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.5603, allocations: 2.781 kB / 0.7211 GB, free: 0 / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.5606, allocations: 69.22 kB / 0.7212 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5606, allocations: 4.188 kB / 0.7212 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5606, allocations: 4.734 kB / 0.7212 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.5606, allocations: 1.312 kB / 0.7212 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.5608, allocations: 42.42 kB / 0.7213 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.5612, allocations: 222.7 kB / 0.7215 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.5614, allocations: 55.28 kB / 0.7215 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.5615, allocations: 36.33 kB / 0.7216 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.5615, allocations: 2.203 kB / 0.7216 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.5617, allocations: 73.53 kB / 0.7216 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.5617, allocations: 0 / 0.7216 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0004346/0.5622, allocations: 122 kB / 0.7218 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.5622, allocations: 57.16 kB / 0.7218 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.5623, allocations: 109.1 kB / 0.7219 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5623, allocations: 35.83 kB / 0.7219 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.5624, allocations: 85.92 kB / 0.722 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.5624, allocations: 24 kB / 0.7221 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.5625, allocations: 23.58 kB / 0.7221 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5626, allocations: 318.2 kB / 0.7224 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.5627, allocations: 25.56 kB / 0.7224 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.5629, allocations: 58.45 kB / 0.7225 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.5631, allocations: 95.75 kB / 0.7225 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5631, allocations: 256 / 0.7225 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002909/0.5634, allocations: 122.6 kB / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.5634, allocations: 5 kB / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5634, allocations: 9.312 kB / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.5634, allocations: 6.281 kB / 0.7227 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.5635, allocations: 17.3 kB / 0.7227 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.5635, allocations: 6.125 kB / 0.7227 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.5636, allocations: 10.88 kB / 0.7227 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.5636, allocations: 3.656 kB / 0.7227 GB, free: 14.71 MB / 0.6231 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.0001127/0.5637, allocations: 126.8 kB / 0.7228 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.5637, allocations: 7.734 kB / 0.7228 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.5641, allocations: 115.7 kB / 0.723 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5641, allocations: 0 / 0.723 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5641, allocations: 1.125 kB / 0.723 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5641, allocations: 0.7031 kB / 0.723 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.5645, allocations: 300.9 kB / 0.7232 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5645, allocations: 0 / 0.7232 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.5646, allocations: 12.08 kB / 0.7233 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5646, allocations: 0 / 0.7233 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.5646, allocations: 10.08 kB / 0.7233 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5646, allocations: 3.938 kB / 0.7233 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5646, allocations: 6 kB / 0.7233 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.5649, allocations: 191.6 kB / 0.7235 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.565, allocations: 9.969 kB / 0.7235 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.565, allocations: 1.703 kB / 0.7235 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.5651, allocations: 8.984 kB / 0.7235 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.5651, allocations: 5.484 kB / 0.7235 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.5651, allocations: 1.594 kB / 0.7235 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.5652, allocations: 90.69 kB / 0.7236 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5652, allocations: 0 / 0.7236 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000256/0.5654, allocations: 16.66 kB / 0.7236 GB, free: 14.01 MB / 0.6231 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.0001473/0.5656, allocations: 96.95 kB / 0.7237 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.5659, allocations: 77.84 kB / 0.7238 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.5659, allocations: 0 / 0.7238 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.566, allocations: 37.28 kB / 0.7238 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.5662, allocations: 5.625 kB / 0.7238 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.5666, allocations: 146 kB / 0.7239 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.426e-05/0.5667, allocations: 70.19 kB / 0.724 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.5667, allocations: 6.141 kB / 0.724 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.5667, allocations: 12.52 kB / 0.724 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.5667, allocations: 4 kB / 0.724 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of Templates: time 0.003811/0.5705, allocations: 0.8857 MB / 0.7249 GB, free: 13.54 MB / 0.6231 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.0165480468422174] Failed to read output from testmodel.py, exit status != 0: 0.5790982786566019 0.593752167 0.030907762000000002 Calling exit ...