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.0007528/0.0007528, allocations: 114.4 kB / 19.7 MB, free: 0.5234 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.0007977/0.0007977, allocations: 219.6 kB / 23.01 MB, free: 3.109 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.8456/0.8456, allocations: 230.6 MB / 256.8 MB, free: 3.465 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.7351/0.7351, allocations: 203.8 MB / 0.5049 GB, free: 0.6719 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.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.0009283/0.0009283, allocations: 67.89 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4047, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001364/0.4061, allocations: 0.672 MB / 0.8197 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008962/0.407, allocations: 1.114 MB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.407, allocations: 1.375 kB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.4071, allocations: 5.375 kB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.928e-05/0.4071, allocations: 10.45 kB / 0.8208 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.4074, allocations: 49.92 kB / 0.8209 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.103e-05/0.4075, allocations: 50.36 kB / 0.8209 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.4076, allocations: 9.031 kB / 0.8209 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.4076, allocations: 24.08 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.4077, allocations: 24.84 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.4077, allocations: 5.938 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.146e-05/0.4078, allocations: 24.8 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.4078, allocations: 12.8 kB / 0.821 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.4078, allocations: 19.69 kB / 0.821 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.4079, allocations: 62.09 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.4079, allocations: 0.6562 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4079, allocations: 1.828 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4079, allocations: 1.094 kB / 0.8211 GB, free: 23.87 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003787/0.4083, allocations: 297.5 kB / 0.8214 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4084, allocations: 12.97 kB / 0.8214 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.4084, allocations: 4.047 kB / 0.8214 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.838e-05/0.4085, allocations: 119.1 kB / 0.8215 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4085, allocations: 6.531 kB / 0.8215 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.4085, allocations: 3.906 kB / 0.8215 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.4086, allocations: 69.58 kB / 0.8216 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4086, allocations: 1.188 kB / 0.8216 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.4087, allocations: 4.531 kB / 0.8216 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4087, allocations: 5.938 kB / 0.8216 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.4088, allocations: 50.16 kB / 0.8216 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.4091, allocations: 245.9 kB / 0.8219 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.971e-05/0.4091, allocations: 59.84 kB / 0.8219 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.4092, allocations: 29.69 kB / 0.822 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.4092, allocations: 2.078 kB / 0.822 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.4093, allocations: 80.22 kB / 0.822 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.4093, allocations: 3.938 kB / 0.822 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002512/0.4096, allocations: 129.7 kB / 0.8222 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.4096, allocations: 53.73 kB / 0.8222 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/0.4097, allocations: 110 kB / 0.8223 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.4097, allocations: 27.55 kB / 0.8224 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.982e-05/0.4097, allocations: 89.44 kB / 0.8224 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.4097, allocations: 16.7 kB / 0.8225 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.4097, allocations: 26.17 kB / 0.8225 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.681e-05/0.4098, allocations: 319.3 kB / 0.8228 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.4098, allocations: 24.09 kB / 0.8228 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.4099, allocations: 62.77 kB / 0.8229 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.41, allocations: 93.58 kB / 0.823 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.41, allocations: 1.062 kB / 0.823 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001449/0.4101, allocations: 117.2 kB / 0.8231 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4102, allocations: 6.828 kB / 0.8231 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.4102, allocations: 1.25 kB / 0.8231 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4102, allocations: 1.688 kB / 0.8231 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.4102, allocations: 21.08 kB / 0.8231 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4102, allocations: 1.281 kB / 0.8231 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.4103, allocations: 20.25 kB / 0.8231 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.4103, allocations: 3.562 kB / 0.8231 GB, free: 22.13 MB / 0.6355 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 4.219e-05/0.4103, allocations: 124.1 kB / 0.8232 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-06/0.4103, allocations: 7.391 kB / 0.8232 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.4105, allocations: 106.6 kB / 0.8234 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4105, allocations: 1.344 kB / 0.8234 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4105, allocations: 0.6562 kB / 0.8234 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4105, allocations: 4.609 kB / 0.8234 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.4107, allocations: 331.4 kB / 0.8237 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4107, allocations: 4.469 kB / 0.8237 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.4108, allocations: 11.2 kB / 0.8237 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.4108, allocations: 0 / 0.8237 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.4108, allocations: 6.109 kB / 0.8237 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4108, allocations: 0.7031 kB / 0.8237 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4108, allocations: 1.5 kB / 0.8237 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.4109, allocations: 201.8 kB / 0.8239 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.4109, allocations: 6.094 kB / 0.8239 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.4109, allocations: 2.266 kB / 0.8239 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.411, allocations: 7.578 kB / 0.8239 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.411, allocations: 9.688 kB / 0.8239 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.411, allocations: 11.38 kB / 0.8239 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.776e-05/0.4111, allocations: 89.56 kB / 0.824 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4111, allocations: 0 / 0.824 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001629/0.4112, allocations: 15.8 kB / 0.824 GB, free: 21.38 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: 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 8.789e-05/0.4113, allocations: 101.6 kB / 0.8241 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.4115, allocations: 69.59 kB / 0.8242 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4115, allocations: 4.062 kB / 0.8242 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.4115, allocations: 28.91 kB / 0.8242 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.4117, allocations: 14.81 kB / 0.8242 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.412, allocations: 172.3 kB / 0.8244 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.331e-05/0.412, allocations: 0.6873 MB / 0.8251 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.412, allocations: 15.28 kB / 0.8251 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of SimCode: time 3.51e-07/0.412, allocations: 0 / 0.8251 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.001839/0.4139, allocations: 0.908 MB / 0.826 GB, free: 20.32 MB / 0.6355 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: 5.4810361138079315] Failed to read output from testmodel.py, exit status != 0: 0.41843682201579213 0.42546635499999996 0.015972348 Calling exit ...