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.0009988/0.0009988, allocations: 93.06 kB / 19.65 MB, free: 280 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.001859/0.001859, allocations: 169 kB / 23.02 MB, free: 1.547 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.9377/0.9377, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.758/0.758, allocations: 154.6 MB / 414.5 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 2.224e-06/2.224e-06, allocations: 0 / 0.5203 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.548e-05, allocations: 3.719 kB / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.00168/0.001706, allocations: 0.672 MB / 0.521 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.002719, allocations: 1.132 MB / 0.5221 GB, free: 440 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.002764, allocations: 5.344 kB / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.002794, allocations: 7.938 kB / 0.5221 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.002859, allocations: 3.938 kB / 0.5221 GB, free: 424 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.003141, allocations: 61.08 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.882e-05/0.00324, allocations: 63.84 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.003326, allocations: 7.984 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.003403, allocations: 45.33 kB / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.003449, allocations: 27.89 kB / 0.5223 GB, free: 220 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.003466, allocations: 8 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.003529, allocations: 23.98 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.003547, allocations: 10.55 kB / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.003578, allocations: 27.91 kB / 0.5223 GB, free: 152 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.003804, allocations: 59.8 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.003808, allocations: 0 / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.003809, allocations: 0 / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.003814, allocations: 7.938 kB / 0.5224 GB, free: 84 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.0004491/0.004263, allocations: 405.5 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.004304, allocations: 12.03 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.108e-05/0.004395, allocations: 9.859 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.712e-05/0.004472, allocations: 116.5 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.004495, allocations: 17.83 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.004506, allocations: 4.375 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.004636, allocations: 74.92 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.004643, allocations: 192 / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.004654, allocations: 5.312 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.004661, allocations: 4.375 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.004706, allocations: 19.92 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.005056, allocations: 293.1 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.005158, allocations: 60.14 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.005192, allocations: 27.67 kB / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.005208, allocations: 112 / 0.5234 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.523e-05/0.005303, allocations: 85.73 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.005304, allocations: 0 / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002209/0.005525, allocations: 127 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.005561, allocations: 55.41 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.005635, allocations: 169.9 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.005647, allocations: 26.77 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.005692, allocations: 143 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.005713, allocations: 23.8 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.005753, allocations: 42.61 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004717/0.006225, allocations: 0.4884 MB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.006261, allocations: 16 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.006306, allocations: 48.86 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.82e-05/0.006384, allocations: 67 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006386, allocations: 0 / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001278/0.006514, allocations: 114.8 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.006528, allocations: 11.94 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006533, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.006546, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.006636, allocations: 27.92 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.006641, allocations: 0 / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.006668, allocations: 7.938 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.00668, allocations: 11.98 kB / 0.5248 GB, free: 13.39 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.158e-05/0.006752, allocations: 166.1 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.006765, allocations: 15.89 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.006909, allocations: 106 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.006911, allocations: 0.5 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006914, allocations: 1.031 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.006917, allocations: 0 / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.007172, allocations: 373.3 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.007173, allocations: 1.125 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.007206, allocations: 8 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.007209, allocations: 4 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.007219, allocations: 4.484 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.007222, allocations: 6.188 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.007224, allocations: 0 / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.007371, allocations: 251.9 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.007379, allocations: 3.953 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.007395, allocations: 8.188 kB / 0.5257 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.007441, allocations: 10.42 kB / 0.5257 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.007479, allocations: 15.98 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.007486, allocations: 0 / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.007522, allocations: 127.2 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007522, allocations: 0 / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001644/0.007687, allocations: 23.94 kB / 0.5259 GB, free: 12.21 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.0001162/0.007803, allocations: 107.3 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.007934, allocations: 63.53 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007936, allocations: 0 / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.434e-05/0.00798, allocations: 39.61 kB / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.008176, allocations: 12.95 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.008641, allocations: 167.7 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.738e-05/0.008678, allocations: 60.91 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.008703, allocations: 8.5 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.008732, allocations: 12.5 kB / 0.5263 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.008733, allocations: 1.281 kB / 0.5263 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.002932/0.01166, allocations: 1.155 MB / 0.5275 GB, free: 10.61 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.5231456379406154]