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.00112/0.00112, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001214/0.001214, allocations: 173 kB / 23.49 MB, free: 1.059 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.9763/0.9763, allocations: 177.1 MB / 203.8 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.7795/0.7795, allocations: 154.6 MB / 414.9 MB, free: 0.668 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.785e-06/2.785e-06, allocations: 0.5469 kB / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/2.035e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001181/0.001201, allocations: 0.6655 MB / 0.521 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.002325, allocations: 1.116 MB / 0.5221 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.002383, allocations: 1 kB / 0.5221 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.002414, allocations: 3.938 kB / 0.5221 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.979e-05/0.002493, allocations: 8.625 kB / 0.5221 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.002848, allocations: 47.77 kB / 0.5221 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.002955, allocations: 57.58 kB / 0.5222 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.003069, allocations: 11.94 kB / 0.5222 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.578e-05/0.003165, allocations: 31.97 kB / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.003219, allocations: 15.97 kB / 0.5222 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.00324, allocations: 4.562 kB / 0.5222 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.898e-05/0.003308, allocations: 23.92 kB / 0.5223 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.003331, allocations: 9.234 kB / 0.5223 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.003359, allocations: 12 kB / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.003506, allocations: 63.78 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003508, allocations: 0.5938 kB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003508, allocations: 0 / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.003513, allocations: 4.875 kB / 0.5223 GB, free: 476 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.0004607/0.003973, allocations: 389 kB / 0.5227 GB, free: 48 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.004014, allocations: 12.72 kB / 0.5227 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.004122, allocations: 13.45 kB / 0.5227 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.004218, allocations: 108.6 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.00423, allocations: 1.125 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.004242, allocations: 8.375 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.004366, allocations: 60 kB / 0.5229 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.004374, allocations: 4.172 kB / 0.5229 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.004384, allocations: 8.312 kB / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.004393, allocations: 6.125 kB / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.004431, allocations: 11.88 kB / 0.5229 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.004781, allocations: 271.7 kB / 0.5232 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.69e-05/0.004868, allocations: 44.77 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.004895, allocations: 15.81 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.004916, allocations: 7.984 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.937e-05/0.004995, allocations: 73 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.004997, allocations: 0.75 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001782/0.005175, allocations: 73.67 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.005213, allocations: 56.81 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.005336, allocations: 165.9 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.005348, allocations: 29.7 kB / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.005393, allocations: 134.8 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.005412, allocations: 17.2 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.005447, allocations: 31.38 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.005555, allocations: 496.1 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.00558, allocations: 17.88 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.219e-05/0.005622, allocations: 50.42 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.648e-05/0.005699, allocations: 80.42 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005701, allocations: 0 / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001022/0.005803, allocations: 81.52 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.005815, allocations: 7.938 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.00582, allocations: 4.562 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.005833, allocations: 1 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.005908, allocations: 15.98 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.005914, allocations: 320 / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.005942, allocations: 8.734 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.00595, allocations: 9.125 kB / 0.5246 GB, free: 13.96 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 7.329e-05/0.006024, allocations: 164.5 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.006035, allocations: 15.89 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.006153, allocations: 83.14 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.006156, allocations: 4 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.00616, allocations: 0 / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.006164, allocations: 3.219 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.006378, allocations: 329.3 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.006381, allocations: 3.984 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.006409, allocations: 4 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.006412, allocations: 4 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.00642, allocations: 0 / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.00642, allocations: 0 / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.006422, allocations: 0 / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.006546, allocations: 234.8 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-06/0.006551, allocations: 0 / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.006567, allocations: 0 / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.006616, allocations: 8.234 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.006652, allocations: 4 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.006664, allocations: 8 kB / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.887e-05/0.006703, allocations: 131.2 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006703, allocations: 0 / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001645/0.006868, allocations: 13.5 kB / 0.5255 GB, free: 12.9 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.0001176/0.006985, allocations: 103.2 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.007103, allocations: 44.11 kB / 0.5257 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.007105, allocations: 2.844 kB / 0.5257 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.00714, allocations: 23.61 kB / 0.5257 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.007334, allocations: 19.88 kB / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.007795, allocations: 148.5 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.818e-05/0.007833, allocations: 63.34 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.007857, allocations: 4 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.007882, allocations: 12.5 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/0.007883, allocations: 0 / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.002802/0.01068, allocations: 0.8848 MB / 0.5268 GB, free: 11.6 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.7723859259858727]