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.0007795/0.0007795, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009402/0.00172, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006912/0.0006912, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008729/0.001564, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9967/0.9967, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09222/1.089, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.8844/0.8844, allocations: 155.3 MB / 399.3 MB, free: 15.92 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.2945/1.179, allocations: 49.13 MB / 448.4 MB, free: 6.023 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.974e-06/1.974e-06, allocations: 0 / 449.7 MB, free: 4.773 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.966e-05, allocations: 3.438 kB / 449.7 MB, free: 4.77 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001258/0.001277, allocations: 0.7113 MB / 450.4 MB, free: 4.098 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.002348, allocations: 1.138 MB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.00239, allocations: 0.5312 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.002411, allocations: 3.938 kB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.617e-05/0.002447, allocations: 7.5 kB / 451.5 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.002638, allocations: 49.69 kB / 451.6 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.196e-05/0.00273, allocations: 48.62 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.552e-05/0.002795, allocations: 9.719 kB / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.743e-05/0.002873, allocations: 37.25 kB / 451.7 MB, free: 2.816 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.782e-05/0.002921, allocations: 18.95 kB / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.002933, allocations: 4 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.00301, allocations: 25.05 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.003029, allocations: 6.406 kB / 451.7 MB, free: 2.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.003052, allocations: 19.02 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.003155, allocations: 44.92 kB / 451.8 MB, free: 2.711 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.003169, allocations: 0 / 451.8 MB, free: 2.711 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.00317, allocations: 0.875 kB / 451.8 MB, free: 2.711 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.003187, allocations: 0 / 451.8 MB, free: 2.711 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.0003889/0.003576, allocations: 283.8 kB / 452.1 MB, free: 2.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.551e-05/0.003601, allocations: 8.031 kB / 452.1 MB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.003705, allocations: 91.03 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.875e-05/0.003774, allocations: 105.8 kB / 452.3 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.003783, allocations: 384 / 452.3 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.003792, allocations: 10.28 kB / 452.3 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.003908, allocations: 68.19 kB / 452.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.003917, allocations: 192 / 452.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.003924, allocations: 384 / 452.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.00393, allocations: 384 / 452.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.003965, allocations: 12.5 kB / 452.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.004234, allocations: 172.8 kB / 452.5 MB, free: 1.891 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.004299, allocations: 39.73 kB / 452.6 MB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.004314, allocations: 12.84 kB / 452.6 MB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.004332, allocations: 4 kB / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.242e-05/0.004404, allocations: 53.16 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.004405, allocations: 0.5312 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001083/0.004514, allocations: 69.91 kB / 452.7 MB, free: 1.688 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.004547, allocations: 56.62 kB / 452.7 MB, free: 1.621 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.004599, allocations: 110.7 kB / 452.9 MB, free: 1.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.004618, allocations: 25.7 kB / 452.9 MB, free: 1.469 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.004657, allocations: 94.47 kB / 453 MB, free: 1.375 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.004674, allocations: 11.86 kB / 453 MB, free: 1.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.004706, allocations: 28.11 kB / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.004784, allocations: 322.8 kB / 453.3 MB, free: 1.008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.004797, allocations: 4 kB / 453.3 MB, free: 1.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.00483, allocations: 40.22 kB / 453.4 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.005031, allocations: 61.48 kB / 453.4 MB, free: 0.875 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005032, allocations: 0 / 453.4 MB, free: 0.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.619e-05/0.005109, allocations: 76.84 kB / 453.5 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.005119, allocations: 4 kB / 453.5 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005123, allocations: 0 / 453.5 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.005133, allocations: 11.94 kB / 453.5 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.005199, allocations: 21.11 kB / 453.5 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.005204, allocations: 4.062 kB / 453.5 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.005229, allocations: 11.94 kB / 453.6 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.005235, allocations: 4.625 kB / 453.6 MB, free: 0.7422 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.551e-05/0.00529, allocations: 114.5 kB / 453.7 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.005299, allocations: 7.984 kB / 453.7 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.005375, allocations: 60.66 kB / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.005378, allocations: 4.562 kB / 453.7 MB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.005381, allocations: 3.984 kB / 453.8 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005384, allocations: 0.625 kB / 453.8 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.005554, allocations: 206.8 kB / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.005555, allocations: 4.5 kB / 454 MB, free: 316 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.005587, allocations: 8.656 kB / 454 MB, free: 308 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.005597, allocations: 7.922 kB / 454 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.005599, allocations: 0.8125 kB / 454 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.005606, allocations: 4 kB / 454 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.005609, allocations: 5.656 kB / 454 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.00561, allocations: 0 / 454 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.094e-05/0.005691, allocations: 147.5 kB / 454.1 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.005707, allocations: 3.938 kB / 454.1 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.09e-05/0.005748, allocations: 8.906 kB / 454.1 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.005778, allocations: 7.984 kB / 454.1 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.005788, allocations: 1 kB / 454.1 MB, free: 108 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.658e-05/0.005804, allocations: 16.83 kB / 454.2 MB, free: 88 kB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005805, allocations: 3.938 kB / 454.2 MB, free: 84 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.00014/0.005945, allocations: 17.31 kB / 454.2 MB, free: 68 kB / 426.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.0001235/0.006068, allocations: 80.36 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.075e-05/0.006159, allocations: 38.66 kB / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.006163, allocations: 0 / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.006189, allocations: 20.84 kB / 454.3 MB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.006323, allocations: 12.97 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.006897, allocations: 147.9 kB / 454.5 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.00693, allocations: 63.16 kB / 454.5 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.413e-05/0.006954, allocations: 8.828 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.006999, allocations: 61.09 kB / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.006999, allocations: 0 / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of Templates: time 0.002594/0.009593, allocations: 0.9256 MB / 455.5 MB, free: 14.74 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.6716466955840588]