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.001081/0.001081, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001719/0.0028, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001014/0.001014, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01714/0.01816, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.9909/0.9909, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0857/1.077, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7816/0.7816, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 NFInstanceAPI.mkTop(): time 0.2752/1.057, allocations: 49.14 MB / 448.6 MB, free: 5.914 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 1.353e-06/1.353e-06, allocations: 0 / 449.9 MB, free: 4.641 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.303e-05, allocations: 5.484 kB / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001496/0.001519, allocations: 0.7144 MB / 450.6 MB, free: 3.953 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009341/0.002453, allocations: 1.14 MB / 451.8 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.002487, allocations: 0 / 451.8 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.002506, allocations: 3.938 kB / 451.8 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.357e-05/0.00254, allocations: 11.48 kB / 451.8 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.002694, allocations: 48.86 kB / 451.8 MB, free: 2.746 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.035e-05/0.002784, allocations: 45.31 kB / 451.9 MB, free: 2.711 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.002869, allocations: 16.62 kB / 451.9 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.00296, allocations: 32.03 kB / 451.9 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.003016, allocations: 21.17 kB / 452 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.003031, allocations: 4.656 kB / 452 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.003108, allocations: 19.98 kB / 452 MB, free: 2.629 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.003133, allocations: 9.859 kB / 452 MB, free: 2.621 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.003155, allocations: 11.28 kB / 452 MB, free: 2.613 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.00327, allocations: 50.45 kB / 452 MB, free: 2.566 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.003281, allocations: 2.484 kB / 452.1 MB, free: 2.566 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003282, allocations: 0 / 452.1 MB, free: 2.566 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.003291, allocations: 0 / 452.1 MB, free: 2.566 MB / 426.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.000402/0.003692, allocations: 279.2 kB / 452.3 MB, free: 2.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.003719, allocations: 9.062 kB / 452.3 MB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.003831, allocations: 90.03 kB / 452.4 MB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.22e-05/0.003903, allocations: 106.7 kB / 452.5 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.003912, allocations: 4.375 kB / 452.5 MB, free: 2.023 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.003924, allocations: 5.953 kB / 452.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.004021, allocations: 71.55 kB / 452.6 MB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.004028, allocations: 1.688 kB / 452.6 MB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.004035, allocations: 4.375 kB / 452.6 MB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.00404, allocations: 384 / 452.6 MB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.004063, allocations: 8.969 kB / 452.6 MB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.004286, allocations: 172.7 kB / 452.8 MB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.195e-05/0.004348, allocations: 35.17 kB / 452.8 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.004364, allocations: 18.59 kB / 452.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.004378, allocations: 0.875 kB / 452.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.851e-05/0.004447, allocations: 55.39 kB / 452.9 MB, free: 1.617 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.004448, allocations: 0 / 452.9 MB, free: 1.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001123/0.00456, allocations: 67.06 kB / 453 MB, free: 1.547 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.004595, allocations: 55.41 kB / 453 MB, free: 1.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.458e-05/0.00465, allocations: 106.7 kB / 453.1 MB, free: 1.363 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.00466, allocations: 30.36 kB / 453.1 MB, free: 1.328 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.00469, allocations: 81.86 kB / 453.2 MB, free: 1.246 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.004711, allocations: 25.86 kB / 453.3 MB, free: 1.223 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.004745, allocations: 25.7 kB / 453.3 MB, free: 1.191 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.004818, allocations: 318.8 kB / 453.6 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.00483, allocations: 7.406 kB / 453.6 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.004859, allocations: 40.28 kB / 453.6 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.004912, allocations: 53.56 kB / 453.7 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.004914, allocations: 4 kB / 453.7 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.166e-05/0.004985, allocations: 71.08 kB / 453.8 MB, free: 0.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.004996, allocations: 11.98 kB / 453.8 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.005, allocations: 0.9062 kB / 453.8 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.005014, allocations: 3.938 kB / 453.8 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.005082, allocations: 20.56 kB / 453.8 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.005087, allocations: 8.047 kB / 453.8 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.005113, allocations: 13.11 kB / 453.8 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.00512, allocations: 4 kB / 453.8 MB, free: 0.6094 MB / 426.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 5.472e-05/0.005175, allocations: 112 kB / 453.9 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.005186, allocations: 12.61 kB / 453.9 MB, free: 492 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.04e-05/0.005256, allocations: 54.69 kB / 454 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.00526, allocations: 5.391 kB / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.005261, allocations: 4.625 kB / 454 MB, free: 424 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.005265, allocations: 7.984 kB / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.005408, allocations: 203.3 kB / 454.2 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005409, allocations: 0.7188 kB / 454.2 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.005436, allocations: 11.94 kB / 454.2 MB, free: 176 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.005445, allocations: 13.7 kB / 454.2 MB, free: 164 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.005446, allocations: 0 / 454.2 MB, free: 164 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.005451, allocations: 0 / 454.2 MB, free: 164 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005452, allocations: 0 / 454.2 MB, free: 164 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005453, allocations: 3.938 kB / 454.2 MB, free: 160 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.375e-05/0.005537, allocations: 148.4 kB / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.005549, allocations: 3.938 kB / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.851e-05/0.005587, allocations: 4.875 kB / 454.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.005611, allocations: 12.95 kB / 454.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.005619, allocations: 0.625 kB / 454.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.194e-05/0.005631, allocations: 17.59 kB / 454.4 MB, free: 15.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005631, allocations: 0 / 454.4 MB, free: 15.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.005767, allocations: 15.92 kB / 454.4 MB, free: 15.94 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 9.425e-05/0.005861, allocations: 92.11 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.011e-05/0.005931, allocations: 33.91 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.005935, allocations: 0 / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.005966, allocations: 24.78 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.006113, allocations: 72.53 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.006664, allocations: 142.8 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.244e-05/0.006696, allocations: 60.06 kB / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.206e-05/0.006718, allocations: 9.141 kB / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.006763, allocations: 59.38 kB / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.006763, allocations: 0 / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of Templates: time 0.00225/0.009014, allocations: 0.9101 MB / 455.8 MB, free: 14.55 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5920324800536036]