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.0006789/0.0006789, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009471/0.001626, 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.0006935/0.0006935, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008543/0.001548, 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.9653/0.9653, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08488/1.05, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.8593/0.8593, allocations: 154.6 MB / 398.5 MB, free: 0.5156 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2996/1.159, allocations: 49.03 MB / 447.6 MB, free: 6.711 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/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.843e-06/1.843e-06, allocations: 0 / 448.8 MB, free: 5.453 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.563e-05, allocations: 5.5 kB / 448.8 MB, free: 5.449 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002239/0.002264, allocations: 0.7094 MB / 449.6 MB, free: 4.785 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.00386, allocations: 1.133 MB / 450.7 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.003912, allocations: 0.875 kB / 450.7 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.00394, allocations: 3.938 kB / 450.7 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.003992, allocations: 12.27 kB / 450.7 MB, free: 3.633 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.004239, allocations: 45.03 kB / 450.7 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.00436, allocations: 49.16 kB / 450.8 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.004451, allocations: 8.688 kB / 450.8 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.004562, allocations: 42.27 kB / 450.8 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.004635, allocations: 18.23 kB / 450.9 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.004652, allocations: 4 kB / 450.9 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.004759, allocations: 25.67 kB / 450.9 MB, free: 3.461 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.00478, allocations: 5.859 kB / 450.9 MB, free: 3.457 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.004812, allocations: 14.19 kB / 450.9 MB, free: 3.445 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.004956, allocations: 43.47 kB / 451 MB, free: 3.406 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.766e-05/0.004973, allocations: 0 / 451 MB, free: 3.406 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.004975, allocations: 1.5 kB / 451 MB, free: 3.406 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.004995, allocations: 0 / 451 MB, free: 3.406 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.000566/0.005561, allocations: 283.8 kB / 451.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.005597, allocations: 10.19 kB / 451.2 MB, free: 3.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.005764, allocations: 90.05 kB / 451.3 MB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.005893, allocations: 113.7 kB / 451.4 MB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.005911, allocations: 384 / 451.4 MB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.005925, allocations: 4.375 kB / 451.4 MB, free: 2.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.006089, allocations: 64.75 kB / 451.5 MB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.006099, allocations: 2.406 kB / 451.5 MB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.006109, allocations: 384 / 451.5 MB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006116, allocations: 384 / 451.5 MB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.445e-05/0.00616, allocations: 15.92 kB / 451.5 MB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.006489, allocations: 172.1 kB / 451.7 MB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.486e-05/0.006584, allocations: 39.95 kB / 451.7 MB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.006604, allocations: 8.938 kB / 451.7 MB, free: 2.527 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.006626, allocations: 4.438 kB / 451.7 MB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.006726, allocations: 59.36 kB / 451.8 MB, free: 2.453 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.006728, allocations: 0.5312 kB / 451.8 MB, free: 2.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001539/0.006882, allocations: 69.67 kB / 451.9 MB, free: 2.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.006932, allocations: 56.38 kB / 451.9 MB, free: 2.312 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.007005, allocations: 110.7 kB / 452 MB, free: 2.191 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.00702, allocations: 26.33 kB / 452.1 MB, free: 2.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.007058, allocations: 88.12 kB / 452.1 MB, free: 2.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.007081, allocations: 19.23 kB / 452.2 MB, free: 2.055 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.007124, allocations: 29.69 kB / 452.2 MB, free: 2.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.007217, allocations: 314.8 kB / 452.5 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.007235, allocations: 7.984 kB / 452.5 MB, free: 1.695 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-05/0.007275, allocations: 40.47 kB / 452.6 MB, free: 1.641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.007347, allocations: 64.2 kB / 452.6 MB, free: 1.562 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.00735, allocations: 0.9062 kB / 452.6 MB, free: 1.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001098/0.007459, allocations: 67.48 kB / 452.7 MB, free: 1.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.007475, allocations: 7.938 kB / 452.7 MB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.00748, allocations: 0 / 452.7 MB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.007494, allocations: 7.938 kB / 452.7 MB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.007594, allocations: 16.89 kB / 452.7 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.007598, allocations: 0 / 452.7 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.007644, allocations: 12.94 kB / 452.7 MB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.007653, allocations: 4 kB / 452.7 MB, free: 1.445 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 8.093e-05/0.007734, allocations: 126.3 kB / 452.9 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.007746, allocations: 4 kB / 452.9 MB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.00786, allocations: 59.42 kB / 452.9 MB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.007864, allocations: 3.938 kB / 452.9 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.007866, allocations: 0 / 452.9 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007869, allocations: 0.6562 kB / 452.9 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.008084, allocations: 206.7 kB / 453.1 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.008087, allocations: 1.219 kB / 453.1 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.008136, allocations: 7.984 kB / 453.1 MB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-06/0.008144, allocations: 7.938 kB / 453.1 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.008147, allocations: 1.062 kB / 453.1 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.008154, allocations: 4 kB / 453.1 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.008157, allocations: 4 kB / 453.1 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008158, allocations: 1.125 kB / 453.1 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.00826, allocations: 151.5 kB / 453.3 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.008277, allocations: 7.875 kB / 453.3 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.008346, allocations: 8.484 kB / 453.3 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.008378, allocations: 6.375 kB / 453.3 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.008391, allocations: 9.391 kB / 453.3 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.46e-05/0.008406, allocations: 8.859 kB / 453.3 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008406, allocations: 0 / 453.3 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.00863, allocations: 16 kB / 453.4 MB, free: 0.7734 MB / 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.0001272/0.008757, allocations: 85.03 kB / 453.4 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.008866, allocations: 42.55 kB / 453.5 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.008871, allocations: 0 / 453.5 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.008908, allocations: 12.86 kB / 453.5 MB, free: 0.625 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.009121, allocations: 24.92 kB / 453.5 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.009997, allocations: 157.2 kB / 453.7 MB, free: 440 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.01004, allocations: 59.34 kB / 453.7 MB, free: 360 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.264e-05/0.01007, allocations: 4.688 kB / 453.7 MB, free: 356 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.01013, allocations: 60 kB / 453.8 MB, free: 296 kB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01013, allocations: 0.625 kB / 453.8 MB, free: 296 kB / 426.7 MB Notification: Performance of Templates: time 0.00349/0.01362, allocations: 0.9173 MB / 454.7 MB, free: 15.44 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6148758521303535]