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.0009018/0.0009018, allocations: 81.14 kB / 19.87 MB, free: 4.625 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.0009263/0.0009263, allocations: 173 kB / 23.28 MB, free: 1.227 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.8727/0.8727, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.8015/0.8015, allocations: 154.9 MB / 415.1 MB, free: 228 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.683e-06/1.683e-06, allocations: 0 / 0.5211 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.548e-05, allocations: 6.469 kB / 0.5211 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001104/0.001119, allocations: 0.6597 MB / 0.5217 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000974/0.002093, allocations: 1.122 MB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.002131, allocations: 0.625 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.002155, allocations: 3.938 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.002219, allocations: 16.59 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.002442, allocations: 48.92 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.277e-05/0.002514, allocations: 51.86 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.203e-05/0.002586, allocations: 7.984 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.224e-05/0.002659, allocations: 33.78 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.0027, allocations: 23.91 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.002713, allocations: 4 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-05/0.002763, allocations: 15.98 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.002782, allocations: 7.984 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.002802, allocations: 21.67 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.815e-05/0.0029, allocations: 51.88 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002902, allocations: 0 / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002902, allocations: 0 / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.715e-06/0.002905, allocations: 7.875 kB / 0.5231 GB, free: 15.51 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.0003661/0.003271, allocations: 390.6 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.003306, allocations: 12.03 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.00338, allocations: 12.83 kB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.42e-05/0.003444, allocations: 112.6 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.003454, allocations: 5.719 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.003462, allocations: 4.375 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.454e-05/0.003557, allocations: 62.94 kB / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.003563, allocations: 1.969 kB / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.00357, allocations: 4.359 kB / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.003576, allocations: 4.375 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.459e-05/0.003601, allocations: 15.86 kB / 0.5237 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.003845, allocations: 258.6 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.714e-05/0.003902, allocations: 39.06 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.003919, allocations: 15.67 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.003937, allocations: 4 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.401e-05/0.004001, allocations: 69.61 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.004003, allocations: 0 / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001394/0.004142, allocations: 74.17 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.00417, allocations: 52.41 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/0.004234, allocations: 169.8 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.004245, allocations: 29.7 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.004284, allocations: 135.4 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.004301, allocations: 17.17 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.004332, allocations: 27.38 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002355/0.004568, allocations: 0.4884 MB / 0.5251 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.004583, allocations: 11.94 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.004617, allocations: 55.36 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.495e-05/0.004672, allocations: 73.59 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004673, allocations: 0 / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.302e-05/0.004756, allocations: 81.52 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.004766, allocations: 4 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.004773, allocations: 11.92 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.004783, allocations: 6.969 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.00484, allocations: 12 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.004843, allocations: 0 / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.00487, allocations: 7.984 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.004877, allocations: 4 kB / 0.5253 GB, free: 13.04 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.297e-05/0.00494, allocations: 170.6 kB / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.004949, allocations: 7.953 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.883e-05/0.005038, allocations: 79.84 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005039, allocations: 0 / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.00504, allocations: 0 / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005043, allocations: 0 / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.005236, allocations: 306.5 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.005238, allocations: 2.688 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.005264, allocations: 7.984 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.005266, allocations: 3.938 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.005272, allocations: 4 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.005273, allocations: 0 / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005274, allocations: 0 / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.765e-05/0.005371, allocations: 223.8 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.005378, allocations: 6.484 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.005393, allocations: 8.172 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.005435, allocations: 8 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.005463, allocations: 7.984 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.005472, allocations: 4 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.005506, allocations: 127.2 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005506, allocations: 1.562 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001524/0.005659, allocations: 12 kB / 0.5262 GB, free: 12.02 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 8.804e-05/0.005747, allocations: 99.25 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.572e-05/0.005822, allocations: 44.61 kB / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.005823, allocations: 1.031 kB / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.005851, allocations: 23.62 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.006031, allocations: 17.23 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.006371, allocations: 156.4 kB / 0.5266 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.0064, allocations: 59.34 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.00642, allocations: 4 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.006469, allocations: 74.2 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.006469, allocations: 0 / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.002377/0.008846, allocations: 0.971 MB / 0.5277 GB, free: 10.58 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.358666703104973]