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.001083/0.001083, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001529/0.001529, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 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.075/1.075, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.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-535:34: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-535:42: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.8186/0.8186, allocations: 154.9 MB / 415.1 MB, free: 252 kB / 378.7 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 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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0.875 kB / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.607e-05, allocations: 2.312 kB / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.005305/0.005331, allocations: 0.7096 MB / 481.1 MB, free: 5.871 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.00671, allocations: 1.141 MB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.006758, allocations: 4.5 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.006786, allocations: 5.625 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.359e-05/0.006859, allocations: 11.53 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.007157, allocations: 39.78 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003131/0.01029, allocations: 57.03 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.969e-05/0.01038, allocations: 13.2 kB / 482.4 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.01048, allocations: 26.06 kB / 482.4 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.01054, allocations: 21.7 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.01055, allocations: 5 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.165e-05/0.01064, allocations: 16.88 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.01067, allocations: 17.5 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.0107, allocations: 20.39 kB / 482.5 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.01085, allocations: 51.81 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.01085, allocations: 0 / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01085, allocations: 0 / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.01086, allocations: 0.8438 kB / 482.5 MB, free: 4.469 MB / 442.7 MB 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.0004096/0.01126, allocations: 265.1 kB / 482.8 MB, free: 4.188 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.0113, allocations: 8.031 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.01141, allocations: 17.48 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.107e-05/0.0115, allocations: 109.7 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.01151, allocations: 5.125 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.01152, allocations: 4.375 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.01165, allocations: 65.78 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.01166, allocations: 4.188 kB / 483 MB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.01167, allocations: 384 / 483 MB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.01167, allocations: 384 / 483 MB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.28e-05/0.0117, allocations: 15.92 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.012, allocations: 168.1 kB / 483.2 MB, free: 3.754 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.174e-05/0.01208, allocations: 37.33 kB / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.01211, allocations: 16.8 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.01212, allocations: 1.062 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.346e-05/0.01221, allocations: 55.52 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.01221, allocations: 3.938 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001379/0.01235, allocations: 66.45 kB / 483.3 MB, free: 3.551 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.01238, allocations: 52.03 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.01245, allocations: 110.7 kB / 483.5 MB, free: 3.367 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.01246, allocations: 26.33 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.0125, allocations: 88.12 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.01252, allocations: 20.47 kB / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.01256, allocations: 26.33 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.01266, allocations: 322.8 kB / 484 MB, free: 2.871 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.01268, allocations: 4.562 kB / 484 MB, free: 2.867 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.01272, allocations: 41 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.182e-05/0.01279, allocations: 58.33 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0128, allocations: 0 / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00011/0.01291, allocations: 74.45 kB / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01292, allocations: 4 kB / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01293, allocations: 0.5938 kB / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.01294, allocations: 7.938 kB / 484.2 MB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/0.01605, allocations: 16.61 kB / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01605, allocations: 5.219 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.0161, allocations: 4 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.01611, allocations: 7.984 kB / 484.2 MB, free: 2.621 MB / 442.7 MB 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 8.53e-05/0.01619, allocations: 125.6 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.01621, allocations: 4 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.01632, allocations: 54.11 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01633, allocations: 9.125 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.01633, allocations: 0.8438 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01633, allocations: 0 / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.01657, allocations: 215.7 kB / 484.6 MB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01657, allocations: 4 kB / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.01662, allocations: 5.781 kB / 484.6 MB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.01662, allocations: 0 / 484.6 MB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01663, allocations: 8.188 kB / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01664, allocations: 7.938 kB / 484.6 MB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01664, allocations: 0 / 484.6 MB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.01675, allocations: 152.2 kB / 484.8 MB, free: 2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.01676, allocations: 0 / 484.8 MB, free: 2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.01678, allocations: 10.59 kB / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.01686, allocations: 7.984 kB / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.01689, allocations: 3.984 kB / 484.8 MB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.0169, allocations: 4.75 kB / 484.8 MB, free: 1.977 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.967e-05/0.01692, allocations: 16.84 kB / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01692, allocations: 0.7812 kB / 484.8 MB, free: 1.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002403/0.01716, allocations: 12 kB / 484.8 MB, free: 1.945 MB / 442.7 MB 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.0001358/0.0173, allocations: 85.22 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.549e-05/0.01739, allocations: 38.19 kB / 484.9 MB, free: 1.816 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.0174, allocations: 0 / 484.9 MB, free: 1.816 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.01743, allocations: 20.8 kB / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.01763, allocations: 13.52 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.0181, allocations: 146.6 kB / 485.1 MB, free: 1.613 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.094e-05/0.01814, allocations: 55.36 kB / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.429e-05/0.01817, allocations: 8.922 kB / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.01824, allocations: 55.38 kB / 485.2 MB, free: 1.477 MB / 442.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01824, allocations: 1.312 kB / 485.2 MB, free: 1.477 MB / 442.7 MB Notification: Performance of Templates: time 0.01007/0.02831, allocations: 0.9006 MB / 486.1 MB, free: 0.6406 MB / 442.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.880180235952139]