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.0009436/0.0009436, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001051/0.001051, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9495/0.9495, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.7785/0.7785, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.425e-06/2.425e-06, allocations: 0 / 480 MB, free: 6.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.836e-05, allocations: 4.828 kB / 480 MB, free: 6.953 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001959/0.001988, allocations: 0.6595 MB / 480.6 MB, free: 6.324 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.003574, allocations: 1.135 MB / 481.8 MB, free: 5.18 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.003622, allocations: 0.625 kB / 481.8 MB, free: 5.18 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.003653, allocations: 3.938 kB / 481.8 MB, free: 5.176 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.003733, allocations: 11.62 kB / 481.8 MB, free: 5.168 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.004048, allocations: 41.7 kB / 481.8 MB, free: 5.129 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.004161, allocations: 57.2 kB / 481.9 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.194e-05/0.004243, allocations: 11.97 kB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.004346, allocations: 27.72 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.004404, allocations: 21.28 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.004421, allocations: 4 kB / 482 MB, free: 5.023 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.004494, allocations: 15.98 kB / 482 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.004518, allocations: 14.44 kB / 482 MB, free: 4.996 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.00455, allocations: 17.73 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.004687, allocations: 54.27 kB / 482.1 MB, free: 4.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.004691, allocations: 0 / 482.1 MB, free: 4.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004692, allocations: 0 / 482.1 MB, free: 4.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.004695, allocations: 0 / 482.1 MB, free: 4.93 MB / 442.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.0004209/0.005116, allocations: 270.3 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.005152, allocations: 8.031 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.005261, allocations: 8.875 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.482e-05/0.005356, allocations: 117.7 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.005371, allocations: 10.16 kB / 482.5 MB, free: 4.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.005383, allocations: 384 / 482.5 MB, free: 4.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.005518, allocations: 66.22 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.005527, allocations: 4.188 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.005535, allocations: 384 / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.005541, allocations: 1.188 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.005579, allocations: 15.92 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.005887, allocations: 169.6 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.005969, allocations: 31.47 kB / 482.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.00599, allocations: 8.859 kB / 482.7 MB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.006008, allocations: 4.625 kB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.904e-05/0.006097, allocations: 59.58 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.006098, allocations: 4.562 kB / 482.8 MB, free: 4.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001485/0.006247, allocations: 62.17 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.006292, allocations: 55.41 kB / 482.9 MB, free: 3.949 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.006364, allocations: 115.3 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.006382, allocations: 30.33 kB / 483.1 MB, free: 3.789 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.006416, allocations: 80.14 kB / 483.2 MB, free: 3.707 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.006444, allocations: 24.45 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.006485, allocations: 21.72 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.006574, allocations: 319.6 kB / 483.5 MB, free: 3.336 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.006596, allocations: 12 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/0.006639, allocations: 48.8 kB / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/0.00671, allocations: 54 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.006712, allocations: 0 / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001167/0.006829, allocations: 71.23 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.006844, allocations: 8 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.006849, allocations: 0.625 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.006863, allocations: 3.938 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.006957, allocations: 16.92 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.006963, allocations: 4.312 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.007008, allocations: 5.219 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.007016, allocations: 0 / 483.7 MB, free: 3.086 MB / 442.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.237e-05/0.007099, allocations: 125.7 kB / 483.9 MB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.007114, allocations: 5.188 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.007227, allocations: 66.08 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.007231, allocations: 6.703 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007233, allocations: 1.094 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007236, allocations: 0 / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.007458, allocations: 210.7 kB / 484.1 MB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.00746, allocations: 0.8125 kB / 484.1 MB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.007512, allocations: 7.984 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.007517, allocations: 5.406 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.007525, allocations: 3.938 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007527, allocations: 0 / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007528, allocations: 0 / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.007647, allocations: 156.4 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.007659, allocations: 4 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.007677, allocations: 8.969 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.007755, allocations: 7.984 kB / 484.3 MB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.007785, allocations: 256 / 484.3 MB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.007798, allocations: 8.891 kB / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.962e-05/0.007818, allocations: 16.86 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007818, allocations: 0.5938 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.008049, allocations: 12 kB / 484.4 MB, free: 2.402 MB / 442.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.0001298/0.008179, allocations: 85.69 kB / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.489e-05/0.008274, allocations: 41.7 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.008278, allocations: 4 kB / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.008311, allocations: 18.02 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.0085, allocations: 7.984 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.008985, allocations: 153.8 kB / 484.7 MB, free: 2.066 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.009026, allocations: 55.36 kB / 484.7 MB, free: 1.992 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.498e-05/0.009061, allocations: 9.266 kB / 484.7 MB, free: 1.984 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.00912, allocations: 55.38 kB / 484.8 MB, free: 1.93 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009121, allocations: 0.8125 kB / 484.8 MB, free: 1.93 MB / 442.7 MB Notification: Performance of Templates: time 0.003418/0.01254, allocations: 0.8967 MB / 485.7 MB, free: 1.102 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.51992972381413]