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.00131/0.00131, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001499/0.001499, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.524/1.524, allocations: 177.2 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.217/1.217, allocations: 154.8 MB / 414.4 MB, free: 468 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 178] 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 5.46e-06/5.46e-06, allocations: 4 kB / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.674e-05/4.22e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002001/0.002043, allocations: 0.6443 MB / 0.5205 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.003838, allocations: 1.099 MB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.003886, allocations: 0 / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.065e-05/0.003927, allocations: 8.547 kB / 0.5215 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.251e-05/0.004019, allocations: 13.73 kB / 0.5216 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.004372, allocations: 51.7 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.004498, allocations: 47.84 kB / 0.5217 GB, free: 488 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.004602, allocations: 8 kB / 0.5217 GB, free: 480 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.004708, allocations: 27.95 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.004773, allocations: 21.45 kB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.004794, allocations: 4 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.696e-05/0.004871, allocations: 19.98 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.004902, allocations: 15.97 kB / 0.5218 GB, free: 392 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.004949, allocations: 13.22 kB / 0.5218 GB, free: 380 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.005134, allocations: 75.7 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.005137, allocations: 0 / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005138, allocations: 0.625 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.005144, allocations: 0 / 0.5218 GB, free: 304 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.0007155/0.00586, allocations: 292.5 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.005903, allocations: 12.03 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.006041, allocations: 8.891 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.006324, allocations: 110.8 kB / 0.5222 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.006338, allocations: 384 / 0.5222 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.006356, allocations: 8.375 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.006591, allocations: 73.72 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.006601, allocations: 192 / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.006613, allocations: 384 / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.006622, allocations: 4.125 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.006825, allocations: 43.95 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.007341, allocations: 224.5 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.007535, allocations: 55.02 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.007644, allocations: 30.08 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.007672, allocations: 4 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.007948, allocations: 84.28 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.007949, allocations: 1.469 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004914/0.008441, allocations: 125.6 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.008504, allocations: 56.08 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.00862, allocations: 106.4 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.008647, allocations: 29.7 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.008717, allocations: 90.06 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.008749, allocations: 19.84 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.008814, allocations: 25.7 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.009003, allocations: 314.8 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.00911, allocations: 28.5 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.009251, allocations: 60.98 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.009498, allocations: 90.12 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.009504, allocations: 5.906 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000318/0.009822, allocations: 128.2 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.009844, allocations: 8 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.00985, allocations: 0 / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.009873, allocations: 0 / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.01, allocations: 23.92 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.01001, allocations: 0 / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.291e-05/0.01009, allocations: 4 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.01011, allocations: 9.734 kB / 0.5238 GB, free: 14.08 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 0.0001447/0.01025, allocations: 113.8 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.01028, allocations: 15.89 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.01064, allocations: 111.3 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01064, allocations: 0 / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.01065, allocations: 0.8125 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.01066, allocations: 4.031 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.01119, allocations: 303.5 kB / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.0112, allocations: 0 / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.01127, allocations: 22.89 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01127, allocations: 0 / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.01129, allocations: 4 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01129, allocations: 256 / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01129, allocations: 0 / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.01169, allocations: 199.4 kB / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.0117, allocations: 15.06 kB / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01172, allocations: 0 / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.01183, allocations: 11.98 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.01188, allocations: 3.984 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.01191, allocations: 4 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.419e-05/0.01198, allocations: 83.28 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01198, allocations: 0 / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002613/0.01224, allocations: 16 kB / 0.5247 GB, free: 13.13 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.0002131/0.01246, allocations: 112.9 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.01275, allocations: 70.27 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01275, allocations: 0 / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.01287, allocations: 31.97 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.01316, allocations: 12.06 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.0136, allocations: 149.3 kB / 0.525 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.335e-05/0.0137, allocations: 69.23 kB / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.653e-05/0.01373, allocations: 11.92 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.01377, allocations: 12.5 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/0.01377, allocations: 1.125 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.004102/0.01787, allocations: 0.8654 MB / 0.526 GB, free: 11.8 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8538112689275295]