Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009365/0.0009365, 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.0009759/0.0009759, allocations: 173 kB / 23.5 MB, free: 1.051 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.006/1.006, allocations: 177.2 MB / 203.8 MB, free: 5.598 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.7697/0.7697, allocations: 154.6 MB / 414.9 MB, free: 0.6758 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 0.5203 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.492e-05, allocations: 4.719 kB / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002068/0.002102, allocations: 0.672 MB / 0.521 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.003707, allocations: 1.132 MB / 0.5221 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.003767, allocations: 1.594 kB / 0.5221 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.003801, allocations: 7.938 kB / 0.5221 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.501e-05/0.003886, allocations: 11.86 kB / 0.5221 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.004235, allocations: 48.75 kB / 0.5221 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.004357, allocations: 67.78 kB / 0.5222 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.004465, allocations: 15.97 kB / 0.5222 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.004581, allocations: 37.31 kB / 0.5223 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.004642, allocations: 31.89 kB / 0.5223 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.004662, allocations: 8 kB / 0.5223 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.004741, allocations: 19.98 kB / 0.5223 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.004768, allocations: 17.12 kB / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.00481, allocations: 23.92 kB / 0.5224 GB, free: 464 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.004971, allocations: 63.78 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.004974, allocations: 0.6875 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004975, allocations: 1.281 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.00498, allocations: 0 / 0.5224 GB, free: 400 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006067/0.005587, allocations: 405.8 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.005633, allocations: 12.03 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.005774, allocations: 12.89 kB / 0.5228 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.005891, allocations: 121.1 kB / 0.5229 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.005919, allocations: 8.359 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.005938, allocations: 14.2 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.006281, allocations: 74.92 kB / 0.523 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.006291, allocations: 192 / 0.523 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.006303, allocations: 384 / 0.523 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.006313, allocations: 4.375 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.116e-05/0.006384, allocations: 21.77 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.006879, allocations: 299.6 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.007013, allocations: 59.05 kB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.00706, allocations: 25.14 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.007081, allocations: 0 / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.007213, allocations: 81.11 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.007214, allocations: 0.9688 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0003024/0.007517, allocations: 121.5 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.007562, allocations: 55.41 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.007663, allocations: 167.2 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.007684, allocations: 29.7 kB / 0.5239 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.007741, allocations: 143 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.007774, allocations: 28.28 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.007829, allocations: 36.39 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.007961, allocations: 0.4923 MB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.00801, allocations: 8 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.00808, allocations: 54.22 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.008197, allocations: 73.52 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0082, allocations: 1.781 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001945/0.008394, allocations: 105.6 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.008412, allocations: 7.938 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008418, allocations: 5.812 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.008433, allocations: 0 / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.008562, allocations: 27.92 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.008568, allocations: 0 / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.008617, allocations: 11.94 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.008632, allocations: 9.891 kB / 0.5248 GB, free: 13.7 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 9.025e-05/0.008722, allocations: 160.6 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.008747, allocations: 15.89 kB / 0.525 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.008959, allocations: 114.3 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.008962, allocations: 2.438 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.008965, allocations: 0 / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.008969, allocations: 0 / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.009353, allocations: 373.2 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.009356, allocations: 0 / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.009417, allocations: 4 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.009421, allocations: 0 / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.009431, allocations: 6.344 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.009435, allocations: 4.234 kB / 0.5255 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.009437, allocations: 0 / 0.5255 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.009665, allocations: 255.8 kB / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.00968, allocations: 11.94 kB / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.009703, allocations: 8 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.009791, allocations: 12.95 kB / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.009837, allocations: 3.984 kB / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.009848, allocations: 4.938 kB / 0.5258 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.009898, allocations: 127.2 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.009898, allocations: 0 / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002749/0.01017, allocations: 31.02 kB / 0.5259 GB, free: 12.51 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.0001626/0.01034, allocations: 99.25 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.01051, allocations: 67.53 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01051, allocations: 0 / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.699e-05/0.01058, allocations: 31.67 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.01087, allocations: 18.67 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.01149, allocations: 170.7 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.344e-05/0.01154, allocations: 55.36 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.01157, allocations: 8.484 kB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.01187, allocations: 18.06 kB / 0.5264 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.01187, allocations: 0 / 0.5264 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.003752/0.01562, allocations: 1.081 MB / 0.5274 GB, free: 10.98 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9205036810599267]