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.0009861/0.0009861, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.00109/0.00109, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9291/0.9291, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.8578/0.8578, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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.154e-06/2.154e-06, allocations: 0 / 0.5215 GB, free: 1.953 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.424e-05, allocations: 3.078 kB / 0.5215 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001325/0.001349, allocations: 0.6612 MB / 0.5221 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.002406, allocations: 1.128 MB / 0.5232 GB, free: 172 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.002446, allocations: 0.625 kB / 0.5232 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.002471, allocations: 0 / 0.5232 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.002535, allocations: 9.734 kB / 0.5233 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.002776, allocations: 47.7 kB / 0.5233 GB, free: 116 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.002864, allocations: 51.84 kB / 0.5234 GB, free: 64 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.153e-05/0.002945, allocations: 15.98 kB / 0.5234 GB, free: 48 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.816e-05/0.003024, allocations: 25.39 kB / 0.5234 GB, free: 24 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.003068, allocations: 23.91 kB / 0.5234 GB, free: 0 / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.003096, allocations: 4.047 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.515e-05/0.003161, allocations: 23.92 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.003181, allocations: 4.594 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.003205, allocations: 19.92 kB / 0.5235 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.003317, allocations: 56.98 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.003319, allocations: 0 / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.62e-07/0.00332, allocations: 0 / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.003323, allocations: 4.656 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB 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.0003859/0.003709, allocations: 386.3 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.003742, allocations: 8.031 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.003818, allocations: 16.83 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.785e-05/0.003896, allocations: 120.6 kB / 0.524 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.003906, allocations: 1.25 kB / 0.524 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.003914, allocations: 4.375 kB / 0.524 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.004016, allocations: 63.5 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.004023, allocations: 3.625 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.00403, allocations: 384 / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.004035, allocations: 4.312 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.004062, allocations: 15.92 kB / 0.5241 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.004326, allocations: 252.4 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.767e-05/0.004393, allocations: 39.05 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.00441, allocations: 15.67 kB / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.004424, allocations: 0 / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.284e-05/0.004497, allocations: 73.83 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.004498, allocations: 0 / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000149/0.004647, allocations: 70.17 kB / 0.5245 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.004679, allocations: 55.91 kB / 0.5246 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.505e-05/0.004744, allocations: 170.8 kB / 0.5248 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.004757, allocations: 33.7 kB / 0.5248 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.004798, allocations: 142.7 kB / 0.5249 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.004816, allocations: 17.47 kB / 0.525 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.00485, allocations: 31.36 kB / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.004953, allocations: 496.1 kB / 0.5255 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.004969, allocations: 4 kB / 0.5255 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.005004, allocations: 59.25 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/0.005065, allocations: 68.86 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005067, allocations: 0 / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.198e-05/0.005159, allocations: 85.5 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.005171, allocations: 6.594 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.005178, allocations: 9.672 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.00519, allocations: 7.938 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.005261, allocations: 12 kB / 0.5257 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.005265, allocations: 3.938 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.005293, allocations: 10.73 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.005301, allocations: 8 kB / 0.5257 GB, free: 13.42 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.638e-05/0.005367, allocations: 160.5 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.005379, allocations: 11.95 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.735e-05/0.005477, allocations: 74.03 kB / 0.526 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.005479, allocations: 4 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.00548, allocations: 0 / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005483, allocations: 5.844 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.005666, allocations: 290.1 kB / 0.5262 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.005667, allocations: 0 / 0.5262 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.005697, allocations: 11.98 kB / 0.5262 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.0057, allocations: 3.938 kB / 0.5263 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.005706, allocations: 4.938 kB / 0.5263 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005706, allocations: 0 / 0.5263 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005707, allocations: 4 kB / 0.5263 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.944e-05/0.005807, allocations: 220.5 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.005813, allocations: 0 / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.005826, allocations: 8.594 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.286e-05/0.005869, allocations: 11.38 kB / 0.5265 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.005894, allocations: 3.984 kB / 0.5265 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.005906, allocations: 8 kB / 0.5265 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.211e-05/0.005938, allocations: 127.2 kB / 0.5266 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005938, allocations: 0 / 0.5266 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001653/0.006103, allocations: 12 kB / 0.5266 GB, free: 12.41 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.0001062/0.006209, allocations: 103.2 kB / 0.5267 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.284e-05/0.006292, allocations: 42.72 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006294, allocations: 0 / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.006324, allocations: 27.62 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.006507, allocations: 16.05 kB / 0.5268 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.006853, allocations: 155.8 kB / 0.527 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.339e-05/0.006887, allocations: 64.72 kB / 0.527 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.006908, allocations: 0 / 0.527 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.006966, allocations: 85.14 kB / 0.5271 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of SimCode: time 1.011e-06/0.006967, allocations: 0 / 0.5271 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.002801/0.009768, allocations: 0.9801 MB / 0.5281 GB, free: 10.95 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.618033749051392]