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.002196/0.002196, allocations: 85.48 kB / 19.44 MB, free: 344 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.003647/0.003647, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.615/1.615, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.296/1.296, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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 178] 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.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.972e-05/4.287e-05, allocations: 4.562 kB / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.003386/0.003429, allocations: 0.6661 MB / 0.5203 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.005896, allocations: 1.109 MB / 0.5213 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.005967, allocations: 4.906 kB / 0.5213 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.46e-05/0.006001, allocations: 7.938 kB / 0.5214 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.006105, allocations: 3.938 kB / 0.5214 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.006539, allocations: 60.45 kB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.006743, allocations: 68.81 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.006854, allocations: 7.984 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.007014, allocations: 43.89 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.007097, allocations: 29.64 kB / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.007129, allocations: 8 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.007371, allocations: 23.98 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.007404, allocations: 7.984 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.007467, allocations: 27.91 kB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.007738, allocations: 84.3 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.007743, allocations: 0.5 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007744, allocations: 1.031 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.007751, allocations: 0 / 0.5217 GB, free: 412 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.0009495/0.0087, allocations: 405.3 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.008755, allocations: 16.02 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.008921, allocations: 17.45 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.009078, allocations: 104.6 kB / 0.5222 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.009118, allocations: 13.94 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.009138, allocations: 4.375 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.009399, allocations: 74.22 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.009412, allocations: 192 / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.009431, allocations: 5.422 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.009438, allocations: 4.375 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.009659, allocations: 40.77 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.0104, allocations: 308.9 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.01068, allocations: 82.97 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.0108, allocations: 31.67 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.01084, allocations: 4.75 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.01109, allocations: 97.77 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.01109, allocations: 4.844 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0006313/0.01173, allocations: 162.1 kB / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.01179, allocations: 55.41 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.01199, allocations: 178.5 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.01203, allocations: 30.52 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.01215, allocations: 139.1 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.01221, allocations: 27.75 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.01232, allocations: 46.45 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003565/0.01267, allocations: 0.4923 MB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.01281, allocations: 31.98 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.01298, allocations: 67.03 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.01326, allocations: 102 kB / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.01327, allocations: 1 kB / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004256/0.01369, allocations: 138 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.01372, allocations: 8.875 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.01372, allocations: 0 / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.01375, allocations: 4 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.01393, allocations: 25.52 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.01394, allocations: 4 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.01402, allocations: 8 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.01404, allocations: 4 kB / 0.5243 GB, free: 13.49 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 0.0001744/0.01421, allocations: 165.5 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.01425, allocations: 17.55 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.01467, allocations: 130 kB / 0.5246 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.01468, allocations: 4 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.01468, allocations: 0 / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.01469, allocations: 5.391 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.01569, allocations: 405.2 kB / 0.525 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0157, allocations: 0 / 0.525 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.01576, allocations: 10.73 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01577, allocations: 0 / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.01578, allocations: 4 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.01579, allocations: 3.938 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01579, allocations: 0 / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.01629, allocations: 276.4 kB / 0.5253 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.01631, allocations: 11.94 kB / 0.5253 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.01634, allocations: 10.19 kB / 0.5253 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.01647, allocations: 4.25 kB / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.01653, allocations: 7.984 kB / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.01655, allocations: 8 kB / 0.5253 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001087/0.01666, allocations: 131.2 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01666, allocations: 0.8125 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004111/0.01707, allocations: 20 kB / 0.5255 GB, free: 12.23 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.000258/0.01733, allocations: 108 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.01773, allocations: 104.2 kB / 0.5257 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.01773, allocations: 7.438 kB / 0.5257 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.0179, allocations: 43.61 kB / 0.5257 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.01836, allocations: 21.75 kB / 0.5258 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.01893, allocations: 158.8 kB / 0.5259 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.01907, allocations: 79.19 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.827e-05/0.01911, allocations: 7.438 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.01916, allocations: 12.5 kB / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.01916, allocations: 0 / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.006059/0.02522, allocations: 1.086 MB / 0.5271 GB, free: 10.62 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: 6.3913737600669265]