Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.0008677/0.0008677, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009542/0.0009542, allocations: 177 kB / 23.36 MB, free: 1.129 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.031/1.031, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.859/0.859, allocations: 154.9 MB / 415.1 MB, free: 228 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.24e-05, allocations: 2.859 kB / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002497/0.002529, allocations: 0.7156 MB / 481.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.004201, allocations: 1.15 MB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.004261, allocations: 3.938 kB / 482.2 MB, free: 4.684 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.004296, allocations: 3.938 kB / 482.2 MB, free: 4.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.004383, allocations: 7.016 kB / 482.3 MB, free: 4.676 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.004698, allocations: 56.52 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.00483, allocations: 70.16 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.958e-05/0.004919, allocations: 8.969 kB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.005048, allocations: 42.38 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.005117, allocations: 26.22 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.00514, allocations: 5.188 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.982e-05/0.00524, allocations: 23.98 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.005266, allocations: 13.84 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.0053, allocations: 27.2 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.005455, allocations: 71.7 kB / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005458, allocations: 0 / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005459, allocations: 0 / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005463, allocations: 0 / 482.6 MB, free: 4.359 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004573/0.005921, allocations: 281.7 kB / 482.9 MB, free: 4.062 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.005956, allocations: 8.031 kB / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.006062, allocations: 13.98 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.424e-05/0.006156, allocations: 113.7 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.006176, allocations: 8.375 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.00619, allocations: 8.984 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.006332, allocations: 80.05 kB / 483.1 MB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.00634, allocations: 192 / 483.1 MB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006351, allocations: 5 kB / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.006357, allocations: 384 / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.29e-05/0.0064, allocations: 16.55 kB / 483.1 MB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.006754, allocations: 172.9 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.006861, allocations: 65.2 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.006894, allocations: 21.56 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.00691, allocations: 0 / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.55e-05/0.007005, allocations: 63.92 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.007007, allocations: 0.7812 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001718/0.007179, allocations: 81.72 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.00722, allocations: 60.56 kB / 483.6 MB, free: 3.281 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.007293, allocations: 114.6 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.007314, allocations: 33.7 kB / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.007353, allocations: 89.27 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.007387, allocations: 31.77 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.007438, allocations: 30.47 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.007537, allocations: 314.8 kB / 484.2 MB, free: 2.641 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.007568, allocations: 12.61 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.563e-05/0.007613, allocations: 34.55 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/0.007697, allocations: 63.78 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007699, allocations: 0 / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001404/0.00784, allocations: 79.27 kB / 484.4 MB, free: 2.434 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.007854, allocations: 4 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.00786, allocations: 4 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.007875, allocations: 5 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.007996, allocations: 23.98 kB / 484.4 MB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.007999, allocations: 0 / 484.4 MB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.008045, allocations: 20.88 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.008056, allocations: 4 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 7.879e-05/0.008135, allocations: 118.3 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.008153, allocations: 13.33 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.008287, allocations: 70.05 kB / 484.6 MB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.008295, allocations: 11.88 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.008297, allocations: 0 / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.008301, allocations: 0.75 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.008557, allocations: 218.8 kB / 484.8 MB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008559, allocations: 1.656 kB / 484.8 MB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.008613, allocations: 11.98 kB / 484.9 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008615, allocations: 0 / 484.9 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.008627, allocations: 7.938 kB / 484.9 MB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.008631, allocations: 4.781 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008632, allocations: 0 / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.008779, allocations: 156.2 kB / 485 MB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.00879, allocations: 7.953 kB / 485 MB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.00881, allocations: 9.578 kB / 485 MB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.008895, allocations: 12 kB / 485 MB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.008931, allocations: 7.984 kB / 485.1 MB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.008938, allocations: 0.6562 kB / 485.1 MB, free: 1.691 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.828e-05/0.008956, allocations: 12.84 kB / 485.1 MB, free: 1.676 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008956, allocations: 0.5938 kB / 485.1 MB, free: 1.676 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.009202, allocations: 23.94 kB / 485.1 MB, free: 1.652 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001208/0.009323, allocations: 91.55 kB / 485.2 MB, free: 1.559 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.555e-05/0.009418, allocations: 61.59 kB / 485.2 MB, free: 1.496 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.009421, allocations: 0 / 485.2 MB, free: 1.496 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.009455, allocations: 25.5 kB / 485.3 MB, free: 1.469 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.009602, allocations: 9.062 kB / 485.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.009994, allocations: 167.3 kB / 485.4 MB, free: 1.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.01003, allocations: 63.34 kB / 485.5 MB, free: 1.188 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.497e-05/0.01005, allocations: 6.344 kB / 485.5 MB, free: 1.184 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.0101, allocations: 59.36 kB / 485.6 MB, free: 1.125 MB / 442.7 MB Notification: Performance of SimCode: time 5.72e-07/0.0101, allocations: 0 / 485.6 MB, free: 1.125 MB / 442.7 MB Notification: Performance of Templates: time 0.002724/0.01283, allocations: 1.113 MB / 486.7 MB, free: 96 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.785520480014384]