Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001054/0.001054, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009272/0.0009272, 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 1.035/1.035, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7762/0.7762, allocations: 154.8 MB / 415.1 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0.7656 kB / 0.5205 GB, free: 2.297 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.317e-05, allocations: 3.5 kB / 0.5205 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001241/0.001264, allocations: 0.6711 MB / 0.5212 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.002354, allocations: 1.13 MB / 0.5223 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.002403, allocations: 0 / 0.5223 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.002432, allocations: 4.688 kB / 0.5223 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.162e-05/0.002504, allocations: 8.875 kB / 0.5223 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.002798, allocations: 55.75 kB / 0.5224 GB, free: 448 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.002904, allocations: 43.86 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.00301, allocations: 12.55 kB / 0.5224 GB, free: 392 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.64e-05/0.003096, allocations: 28.47 kB / 0.5225 GB, free: 364 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.003147, allocations: 20.62 kB / 0.5225 GB, free: 344 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.003164, allocations: 8 kB / 0.5225 GB, free: 336 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.003221, allocations: 21.2 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.003242, allocations: 7.984 kB / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.003273, allocations: 19.92 kB / 0.5225 GB, free: 288 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.00341, allocations: 51.81 kB / 0.5226 GB, free: 236 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003412, allocations: 0.5625 kB / 0.5226 GB, free: 236 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.003413, allocations: 1.781 kB / 0.5226 GB, free: 236 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.003418, allocations: 0 / 0.5226 GB, free: 236 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.0005117/0.00393, allocations: 392.4 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.003971, allocations: 9.75 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.004078, allocations: 16.83 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.002e-05/0.004168, allocations: 112.6 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.004183, allocations: 8.359 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.004193, allocations: 4.375 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.004332, allocations: 64.41 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.004341, allocations: 192 / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.004352, allocations: 384 / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.004361, allocations: 5.125 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.004403, allocations: 19.86 kB / 0.5232 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.004746, allocations: 273.2 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.872e-05/0.004835, allocations: 39.06 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.004862, allocations: 15.67 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.00488, allocations: 5.328 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.328e-05/0.004964, allocations: 73.05 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.004965, allocations: 0 / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001815/0.005146, allocations: 74.34 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.005186, allocations: 59.39 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/0.005259, allocations: 165.2 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.005272, allocations: 33.7 kB / 0.5239 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.005317, allocations: 134.8 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.005335, allocations: 15.91 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.00537, allocations: 27.36 kB / 0.5241 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.005484, allocations: 0.4884 MB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.005508, allocations: 11.92 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.005549, allocations: 54.44 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.603e-05/0.005615, allocations: 76.14 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005617, allocations: 4.875 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.005727, allocations: 94.97 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.005739, allocations: 7.938 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.005745, allocations: 4.312 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.005759, allocations: 0.7188 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.00583, allocations: 15.98 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.005835, allocations: 1.25 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.005863, allocations: 4 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.005872, allocations: 7.984 kB / 0.5248 GB, free: 13.71 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.762e-05/0.00595, allocations: 171.2 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.005961, allocations: 11.89 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.006071, allocations: 74.11 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.006074, allocations: 4 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.006078, allocations: 0 / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.006081, allocations: 0 / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.006285, allocations: 329.3 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.006287, allocations: 2.75 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.006315, allocations: 4 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.006316, allocations: 0 / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.006324, allocations: 7.984 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006325, allocations: 0 / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006326, allocations: 0 / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.006437, allocations: 227.8 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-06/0.006441, allocations: 0.9375 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.006456, allocations: 0 / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.481e-05/0.006501, allocations: 11.98 kB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.006539, allocations: 8.922 kB / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.00655, allocations: 0 / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.84e-05/0.006589, allocations: 132.1 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006589, allocations: 0 / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001782/0.006767, allocations: 8 kB / 0.5258 GB, free: 12.67 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.0001687/0.006936, allocations: 109.2 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.007065, allocations: 39.61 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.007066, allocations: 2.438 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.007112, allocations: 31.61 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.007379, allocations: 16.06 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.007866, allocations: 153.1 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.881e-05/0.007905, allocations: 55.36 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.00793, allocations: 8 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.007956, allocations: 16.48 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.007956, allocations: 0 / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.002535/0.01049, allocations: 0.882 MB / 0.527 GB, free: 11.35 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7377664970699698]