Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001119/0.001119, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001095/0.001095, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9945/0.9945, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8599/0.8599, allocations: 154.6 MB / 414.8 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.583e-05, allocations: 2.312 kB / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001278/0.001294, allocations: 0.7171 MB / 480.7 MB, free: 6.242 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.002497, allocations: 1.128 MB / 481.9 MB, free: 5.105 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.00255, allocations: 0.7812 kB / 481.9 MB, free: 5.105 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.002581, allocations: 8.469 kB / 481.9 MB, free: 5.098 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.2e-05/0.002663, allocations: 7.797 kB / 481.9 MB, free: 5.094 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.002946, allocations: 48.31 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.003049, allocations: 49.88 kB / 482 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.003135, allocations: 9.156 kB / 482 MB, free: 5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.003242, allocations: 37.64 kB / 482 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.003299, allocations: 17.84 kB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.003316, allocations: 4 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.003404, allocations: 25.91 kB / 482.1 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.003427, allocations: 14.06 kB / 482.1 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.003454, allocations: 9.641 kB / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.003584, allocations: 57.22 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.003586, allocations: 0 / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003587, allocations: 0.8125 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003591, allocations: 0 / 482.1 MB, free: 4.848 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.0003536/0.003945, allocations: 265.4 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.003982, allocations: 12.03 kB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.913e-05/0.004071, allocations: 14.12 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.004177, allocations: 113.7 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.004189, allocations: 384 / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.004198, allocations: 4.906 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.004313, allocations: 66.92 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.004321, allocations: 1.219 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.004329, allocations: 384 / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.004336, allocations: 5.156 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.004361, allocations: 7.938 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.004613, allocations: 173.6 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.187e-05/0.004675, allocations: 31.19 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.004693, allocations: 12.98 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.004706, allocations: 0.625 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.113e-05/0.004777, allocations: 60.08 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.004779, allocations: 0 / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001143/0.004893, allocations: 62.41 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.004927, allocations: 55.41 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.136e-05/0.004978, allocations: 111.3 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.004991, allocations: 34.31 kB / 483.2 MB, free: 3.715 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.501e-05/0.005016, allocations: 84.08 kB / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.005038, allocations: 28.38 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.005075, allocations: 22.52 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.00514, allocations: 318.8 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.005153, allocations: 7.984 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.019e-05/0.005183, allocations: 46 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/0.005233, allocations: 53.7 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005234, allocations: 0 / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.009e-05/0.005304, allocations: 75.3 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.005314, allocations: 4 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.005319, allocations: 5.75 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.005331, allocations: 3.938 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.884e-05/0.005389, allocations: 17.02 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.005394, allocations: 8.062 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.005419, allocations: 4.781 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.005426, allocations: 4 kB / 483.8 MB, free: 3 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 6.045e-05/0.005486, allocations: 114.8 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.005495, allocations: 11.98 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.172e-05/0.005567, allocations: 58.11 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.00557, allocations: 4.719 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005571, allocations: 0 / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.005575, allocations: 2.984 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.005718, allocations: 214.7 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005719, allocations: 0 / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.005745, allocations: 7.984 kB / 484.2 MB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005746, allocations: 4 kB / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.005751, allocations: 4.688 kB / 484.2 MB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.005752, allocations: 0 / 484.2 MB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005753, allocations: 0.7188 kB / 484.2 MB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.037e-05/0.005823, allocations: 155.5 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.005829, allocations: 5.281 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.005842, allocations: 3.938 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.921e-05/0.005881, allocations: 4 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.005906, allocations: 12.89 kB / 484.4 MB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.005914, allocations: 4.25 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.169e-05/0.005926, allocations: 17.94 kB / 484.4 MB, free: 2.336 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005926, allocations: 0 / 484.4 MB, free: 2.336 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.006066, allocations: 12 kB / 484.4 MB, free: 2.324 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 8.535e-05/0.006151, allocations: 81.86 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.145e-05/0.006222, allocations: 42.36 kB / 484.6 MB, free: 2.195 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.006224, allocations: 0 / 484.6 MB, free: 2.195 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.00625, allocations: 16.84 kB / 484.6 MB, free: 2.176 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.006383, allocations: 26.42 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.006699, allocations: 145.6 kB / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.967e-05/0.006729, allocations: 59.34 kB / 484.8 MB, free: 1.914 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.067e-05/0.00675, allocations: 6.312 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.006792, allocations: 59.36 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006793, allocations: 0 / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of Templates: time 0.002196/0.008989, allocations: 0.8988 MB / 485.8 MB, free: 1.016 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.714300008956343]