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.001253/0.001253, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001429/0.001429, allocations: 181 kB / 23.36 MB, free: 1.133 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.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.7721/0.7721, allocations: 154.6 MB / 414.8 MB, free: 0.4922 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 1.874e-06/1.874e-06, allocations: 0 / 480 MB, free: 6.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.768e-05, allocations: 2.312 kB / 480 MB, free: 6.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001189/0.001207, allocations: 0.6851 MB / 480.7 MB, free: 6.277 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.002272, allocations: 1.135 MB / 481.8 MB, free: 5.133 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.002312, allocations: 4 kB / 481.8 MB, free: 5.129 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.002338, allocations: 4.844 kB / 481.8 MB, free: 5.125 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.495e-05/0.002402, allocations: 10.77 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.002625, allocations: 50.09 kB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.503e-05/0.00272, allocations: 73.25 kB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.002786, allocations: 7.984 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.002867, allocations: 46.84 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.002913, allocations: 26.38 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.002926, allocations: 4 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.358e-05/0.00298, allocations: 25.25 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.003001, allocations: 18.06 kB / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.003028, allocations: 22.27 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.003136, allocations: 61.09 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003137, allocations: 4 kB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003138, allocations: 1 kB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.003141, allocations: 0 / 482.1 MB, free: 4.809 MB / 442.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.0003503/0.003491, allocations: 273.9 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.003519, allocations: 12.03 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.65e-05/0.003596, allocations: 16.86 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.397e-05/0.00367, allocations: 118.2 kB / 482.5 MB, free: 4.352 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.003683, allocations: 384 / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.003698, allocations: 14.06 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.003799, allocations: 74.86 kB / 482.6 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.003806, allocations: 192 / 482.6 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.003814, allocations: 1 kB / 482.6 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.00382, allocations: 2.016 kB / 482.6 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.807e-05/0.003848, allocations: 19.92 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.004099, allocations: 181.3 kB / 482.8 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.969e-05/0.004168, allocations: 47.05 kB / 482.9 MB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.004188, allocations: 18.78 kB / 482.9 MB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.004202, allocations: 4 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.021e-05/0.004272, allocations: 75.42 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.004274, allocations: 0 / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001211/0.004395, allocations: 78.39 kB / 483.1 MB, free: 3.801 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.004428, allocations: 56 kB / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.425e-05/0.004482, allocations: 119.9 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.004496, allocations: 29.7 kB / 483.3 MB, free: 3.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.004526, allocations: 88.36 kB / 483.3 MB, free: 3.477 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.004546, allocations: 24.44 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.004581, allocations: 37.69 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.988e-05/0.004651, allocations: 320.1 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.004668, allocations: 12 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.789e-05/0.004696, allocations: 34.62 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.5e-05/0.004751, allocations: 63.67 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.004753, allocations: 0.5938 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 7.86e-05/0.004832, allocations: 82.64 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/0.004841, allocations: 4 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.004845, allocations: 0 / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.004858, allocations: 12.55 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7e-05/0.004928, allocations: 20.56 kB / 483.9 MB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.004931, allocations: 0 / 483.9 MB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.004956, allocations: 16.56 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.004963, allocations: 4.625 kB / 484 MB, free: 2.828 MB / 442.7 MB 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 6.235e-05/0.005025, allocations: 117.2 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.005037, allocations: 11.98 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.936e-05/0.005116, allocations: 66.67 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.00512, allocations: 8.531 kB / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.005121, allocations: 0 / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005124, allocations: 0.8125 kB / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.005287, allocations: 226.7 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005288, allocations: 1.781 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.005317, allocations: 11.98 kB / 484.4 MB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.005318, allocations: 0 / 484.4 MB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.005325, allocations: 3.938 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005325, allocations: 0 / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005326, allocations: 8.719 kB / 484.4 MB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.005405, allocations: 159.5 kB / 484.6 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.005413, allocations: 13.66 kB / 484.6 MB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.005425, allocations: 3.938 kB / 484.6 MB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.005464, allocations: 4 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.005491, allocations: 11.98 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.005495, allocations: 1.531 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.39e-05/0.005509, allocations: 20.83 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005509, allocations: 0 / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001254/0.005634, allocations: 23.94 kB / 484.6 MB, free: 2.098 MB / 442.7 MB 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 9.06e-05/0.005725, allocations: 91.22 kB / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.856e-05/0.005803, allocations: 53.59 kB / 484.8 MB, free: 1.949 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.005805, allocations: 0 / 484.8 MB, free: 1.949 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.005837, allocations: 29.78 kB / 484.8 MB, free: 1.918 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.005968, allocations: 10.73 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.006302, allocations: 163 kB / 485 MB, free: 1.727 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.092e-05/0.006333, allocations: 59.34 kB / 485 MB, free: 1.648 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.1e-05/0.006354, allocations: 9.25 kB / 485 MB, free: 1.641 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.006399, allocations: 60.05 kB / 485.1 MB, free: 1.582 MB / 442.7 MB Notification: Performance of SimCode: time 3.9e-07/0.006399, allocations: 0 / 485.1 MB, free: 1.582 MB / 442.7 MB Notification: Performance of Templates: time 0.002411/0.00881, allocations: 1.115 MB / 486.2 MB, free: 0.5508 MB / 442.7 MB " [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.581319003831595]