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.0008245/0.0008245, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.000854/0.000854, allocations: 169 kB / 23.27 MB, free: 1.223 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.8855/0.8855, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.7499/0.7499, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.314e-06/2.314e-06, allocations: 0 / 0.5207 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.445e-05, allocations: 5.156 kB / 0.5207 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001911/0.001936, allocations: 0.6664 MB / 0.5214 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.003347, allocations: 1.137 MB / 0.5225 GB, free: 88 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.003399, allocations: 3.938 kB / 0.5225 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.003428, allocations: 1.812 kB / 0.5225 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.003503, allocations: 7.875 kB / 0.5225 GB, free: 76 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.003775, allocations: 55.75 kB / 0.5226 GB, free: 20 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.003898, allocations: 67.83 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.178e-05/0.00398, allocations: 13.7 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.004084, allocations: 43.89 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.004135, allocations: 19.97 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.004154, allocations: 8 kB / 0.5227 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.189e-05/0.004226, allocations: 23.97 kB / 0.5227 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.00425, allocations: 20.67 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.004281, allocations: 19.97 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.004419, allocations: 65.14 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.004422, allocations: 0 / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.004423, allocations: 0 / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.004427, allocations: 0 / 0.5228 GB, free: 15.75 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.0004646/0.004891, allocations: 409.8 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.004931, allocations: 9.656 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.005037, allocations: 16.89 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.948e-05/0.005116, allocations: 120.5 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.005138, allocations: 8.359 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.005153, allocations: 10.66 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.005292, allocations: 70.86 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.005301, allocations: 192 / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.005312, allocations: 8.375 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005318, allocations: 384 / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.027e-05/0.005358, allocations: 15.92 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.005735, allocations: 269.5 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.005835, allocations: 63.86 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.005863, allocations: 15.69 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.005888, allocations: 12.5 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.941e-05/0.005987, allocations: 74.41 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.005989, allocations: 0 / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002213/0.00621, allocations: 117.7 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.006246, allocations: 59.34 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.006327, allocations: 166.8 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.006345, allocations: 29.7 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.0064, allocations: 136.7 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.00643, allocations: 35.7 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.006482, allocations: 39.34 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.006611, allocations: 0.4884 MB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.083e-05/0.006642, allocations: 13.02 kB / 0.5249 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.006692, allocations: 43.05 kB / 0.525 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.64e-05/0.006789, allocations: 65.84 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.006792, allocations: 5.531 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001525/0.006945, allocations: 93.56 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.006958, allocations: 7.25 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.006965, allocations: 7.938 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.006979, allocations: 4 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.007087, allocations: 27.92 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.007091, allocations: 4 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.007134, allocations: 7.938 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.007142, allocations: 0 / 0.5252 GB, free: 13.12 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 8.752e-05/0.00723, allocations: 168.5 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.00725, allocations: 18.97 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.007421, allocations: 97.98 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.007425, allocations: 4 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007426, allocations: 0 / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.007431, allocations: 3.984 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.007737, allocations: 338 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.007739, allocations: 0 / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.007801, allocations: 15.98 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.007805, allocations: 5.438 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.007812, allocations: 0 / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.007816, allocations: 4 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007817, allocations: 0 / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.008008, allocations: 244.4 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.008017, allocations: 6.484 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.008037, allocations: 11.92 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.008118, allocations: 4 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.008148, allocations: 7.984 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.008156, allocations: 4 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.008199, allocations: 131.1 kB / 0.5262 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.008199, allocations: 0 / 0.5262 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002466/0.008445, allocations: 26.38 kB / 0.5262 GB, free: 11.98 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.0001345/0.00858, allocations: 103.2 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.00871, allocations: 59.59 kB / 0.5264 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008712, allocations: 0 / 0.5264 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.008757, allocations: 33.33 kB / 0.5264 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.009014, allocations: 11.33 kB / 0.5264 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.009495, allocations: 171.7 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.009539, allocations: 64.28 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.009573, allocations: 4.5 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.009643, allocations: 79.34 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of SimCode: time 1.163e-06/0.009644, allocations: 0 / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.003587/0.01323, allocations: 1.187 MB / 0.5279 GB, free: 10.3 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.292273927014321]