Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001292/0.001292, allocations: 92.22 kB / 19.65 MB, free: 276 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.001074/0.001074, allocations: 173 kB / 23.02 MB, free: 1.543 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.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.566 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.799/0.799, allocations: 154.9 MB / 414.8 MB, free: 412 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.5207 GB, free: 1.809 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.263e-05/6.532e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002322/0.002387, allocations: 0.6693 MB / 0.5213 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.004127, allocations: 1.14 MB / 0.5224 GB, free: 4 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.004184, allocations: 0.625 kB / 0.5224 GB, free: 4 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.004221, allocations: 4.906 kB / 0.5224 GB, free: 0 / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.004328, allocations: 15.86 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.004715, allocations: 48.78 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.004855, allocations: 75.77 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.004972, allocations: 7.984 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.005088, allocations: 40.72 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.005155, allocations: 23.95 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.00518, allocations: 8.656 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.005261, allocations: 23.98 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.00529, allocations: 12.89 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.005335, allocations: 19.98 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.005515, allocations: 69.52 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.005519, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00552, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.005527, allocations: 0 / 0.5228 GB, free: 15.66 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006333/0.00616, allocations: 406 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.006208, allocations: 8.031 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.006353, allocations: 20.81 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.006466, allocations: 117.6 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.006494, allocations: 12.31 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.006511, allocations: 4.375 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.006712, allocations: 75.55 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.006722, allocations: 1.562 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.006738, allocations: 4.375 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.006751, allocations: 4.375 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.006823, allocations: 19.86 kB / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.00741, allocations: 292.9 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.00756, allocations: 56.33 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.007611, allocations: 23.67 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.007634, allocations: 4 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.007772, allocations: 81.94 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.007774, allocations: 0 / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002677/0.008041, allocations: 118.7 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.008085, allocations: 59.39 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/0.008168, allocations: 165.9 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.008183, allocations: 30.45 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.008232, allocations: 135.1 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.008257, allocations: 32.56 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.008298, allocations: 39.31 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.008419, allocations: 0.4931 MB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.00845, allocations: 15.98 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.812e-05/0.008498, allocations: 54.42 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.115e-05/0.008579, allocations: 73.02 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.008583, allocations: 4 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001249/0.008708, allocations: 101.6 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.008724, allocations: 11.92 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.00873, allocations: 4 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.008751, allocations: 0 / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.008854, allocations: 21.28 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.008863, allocations: 11.92 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.008893, allocations: 7.938 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.008904, allocations: 8.562 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.854e-05/0.008982, allocations: 165.8 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.008994, allocations: 11.89 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.009142, allocations: 106.5 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009145, allocations: 4.766 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.009149, allocations: 0 / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.009153, allocations: 0.9688 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.009422, allocations: 373.2 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.009425, allocations: 4 kB / 0.5258 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.009465, allocations: 10.73 kB / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.009468, allocations: 0 / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.009478, allocations: 8 kB / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.00948, allocations: 0 / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.009482, allocations: 0 / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.009635, allocations: 255.8 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.009646, allocations: 7.938 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.009662, allocations: 6.688 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.259e-05/0.009715, allocations: 4 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.009756, allocations: 7.984 kB / 0.5261 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.009765, allocations: 4 kB / 0.5261 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.009805, allocations: 127.2 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009805, allocations: 0 / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001665/0.009971, allocations: 23.94 kB / 0.5263 GB, free: 11.8 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00014/0.01011, allocations: 110.8 kB / 0.5264 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.01024, allocations: 64.19 kB / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01024, allocations: 0 / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.01029, allocations: 39.09 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.01048, allocations: 16.12 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.01098, allocations: 174.7 kB / 0.5266 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.746e-05/0.01102, allocations: 63.28 kB / 0.5267 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.01104, allocations: 7.031 kB / 0.5267 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.01107, allocations: 20.48 kB / 0.5267 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/0.01108, allocations: 0 / 0.5267 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.003064/0.01414, allocations: 1.14 MB / 0.5278 GB, free: 10.2 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7970127309672534]