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.0009088/0.0009088, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001026/0.001026, allocations: 173 kB / 23.03 MB, free: 1.543 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.918/0.918, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7615/0.7615, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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 2.164e-06/2.164e-06, allocations: 0 / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/3.001e-05, allocations: 5.703 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001451/0.001481, allocations: 0.6586 MB / 0.521 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.00257, allocations: 1.125 MB / 0.522 GB, free: 456 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.002611, allocations: 0.5625 kB / 0.5221 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.002643, allocations: 11.88 kB / 0.5221 GB, free: 444 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.463e-05/0.002707, allocations: 4.703 kB / 0.5221 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.003008, allocations: 44.3 kB / 0.5221 GB, free: 396 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.159e-05/0.003099, allocations: 57 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.003186, allocations: 8 kB / 0.5222 GB, free: 332 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.003259, allocations: 35.95 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.003303, allocations: 15.92 kB / 0.5222 GB, free: 280 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.00332, allocations: 4.625 kB / 0.5222 GB, free: 276 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.902e-05/0.003389, allocations: 21.8 kB / 0.5222 GB, free: 256 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.003409, allocations: 7.984 kB / 0.5223 GB, free: 248 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.003438, allocations: 19.92 kB / 0.5223 GB, free: 228 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.003562, allocations: 51.81 kB / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003565, allocations: 0 / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.003566, allocations: 5.688 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.00357, allocations: 0 / 0.5223 GB, free: 172 kB / 490.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.0004606/0.004031, allocations: 388.5 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.004067, allocations: 13.34 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.004167, allocations: 16.81 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.559e-05/0.004243, allocations: 108.6 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.004255, allocations: 4.375 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.004266, allocations: 8.844 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.004394, allocations: 71.67 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.004402, allocations: 192 / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.004412, allocations: 1.844 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.004419, allocations: 384 / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.882e-05/0.004458, allocations: 15.92 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.004793, allocations: 269.1 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.308e-05/0.004876, allocations: 46.98 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.004899, allocations: 23.81 kB / 0.5233 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.004915, allocations: 3.531 kB / 0.5233 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.621e-05/0.004991, allocations: 72.97 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.004992, allocations: 0 / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001767/0.005169, allocations: 81.67 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.005202, allocations: 51.41 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.005278, allocations: 169.9 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.005289, allocations: 25.7 kB / 0.5236 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.005332, allocations: 138.8 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.005347, allocations: 7.906 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.005384, allocations: 35.92 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005484, allocations: 0.489 MB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.005507, allocations: 7.984 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.005551, allocations: 59.39 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/0.005617, allocations: 67.84 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005618, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.983e-05/0.005718, allocations: 91.91 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.005731, allocations: 7.938 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.005736, allocations: 0 / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.005749, allocations: 4 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/0.005819, allocations: 22.3 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.005824, allocations: 0 / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.005852, allocations: 8 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.00586, allocations: 4 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB 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.674e-05/0.005927, allocations: 172.4 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.005938, allocations: 11.89 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.006047, allocations: 76.8 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.006049, allocations: 0 / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.006052, allocations: 48 / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.006057, allocations: 7.984 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.006258, allocations: 317.4 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.006259, allocations: 0 / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.00629, allocations: 15.92 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.006292, allocations: 1.281 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.006299, allocations: 0 / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006301, allocations: 4 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006302, allocations: 0 / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.006411, allocations: 224.8 kB / 0.5253 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.006418, allocations: 7.984 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.006432, allocations: 1.188 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.236e-05/0.006475, allocations: 8 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.006509, allocations: 8.641 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.00652, allocations: 4 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.006555, allocations: 128.2 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.006555, allocations: 0 / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001594/0.006714, allocations: 19.94 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB 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.0001054/0.00682, allocations: 97.75 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.006927, allocations: 47.59 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006928, allocations: 0 / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.006964, allocations: 19.69 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.007161, allocations: 28.94 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.007579, allocations: 154.1 kB / 0.5258 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.193e-05/0.007611, allocations: 57.59 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.007634, allocations: 7.984 kB / 0.5259 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.007657, allocations: 16.06 kB / 0.5259 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.007658, allocations: 0 / 0.5259 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.002605/0.01026, allocations: 0.932 MB / 0.5268 GB, free: 11.24 MB / 0.4948 GB " [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.5746655170805752]