Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001091/0.001091, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001659/0.001659, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9895/0.9895, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7699/0.7699, allocations: 154.8 MB / 415.1 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.5205 GB, free: 1.211 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.908e-05, allocations: 4.141 kB / 0.5205 GB, free: 1.207 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001229/0.001248, allocations: 0.6789 MB / 0.5212 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.002415, allocations: 1.129 MB / 0.5223 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.002463, allocations: 3.938 kB / 0.5223 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.002488, allocations: 4.672 kB / 0.5223 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.523e-05/0.002553, allocations: 9.094 kB / 0.5223 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.00285, allocations: 55.7 kB / 0.5224 GB, free: 15.34 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.002956, allocations: 71.81 kB / 0.5225 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.883e-05/0.003045, allocations: 4.625 kB / 0.5225 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.64e-05/0.003131, allocations: 47.89 kB / 0.5225 GB, free: 15.22 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.003178, allocations: 21.78 kB / 0.5225 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.003195, allocations: 4 kB / 0.5225 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.043e-05/0.003255, allocations: 27.97 kB / 0.5226 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.003278, allocations: 15.92 kB / 0.5226 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.003309, allocations: 21.69 kB / 0.5226 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.003441, allocations: 67.73 kB / 0.5227 GB, free: 15.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003443, allocations: 0 / 0.5227 GB, free: 15.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003444, allocations: 0 / 0.5227 GB, free: 15.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.003448, allocations: 0 / 0.5227 GB, free: 15.07 MB / 458.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.0004543/0.003903, allocations: 405.9 kB / 0.523 GB, free: 14.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.003938, allocations: 8.031 kB / 0.523 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.004046, allocations: 17.33 kB / 0.5231 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.015e-05/0.004126, allocations: 113.4 kB / 0.5232 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.004144, allocations: 8.312 kB / 0.5232 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.004158, allocations: 13.83 kB / 0.5232 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.004417, allocations: 78.86 kB / 0.5233 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.351e-06/0.004423, allocations: 192 / 0.5233 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.004435, allocations: 4.375 kB / 0.5233 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.004441, allocations: 1.719 kB / 0.5233 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.632e-05/0.004487, allocations: 19.92 kB / 0.5233 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.004913, allocations: 303 kB / 0.5236 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.005022, allocations: 62.97 kB / 0.5236 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.005062, allocations: 23.67 kB / 0.5237 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.005084, allocations: 4 kB / 0.5237 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.524e-05/0.005179, allocations: 68.98 kB / 0.5237 GB, free: 13.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.00518, allocations: 0 / 0.5237 GB, free: 13.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003249/0.005505, allocations: 121.7 kB / 0.5239 GB, free: 13.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.005548, allocations: 59.34 kB / 0.5239 GB, free: 13.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.889e-05/0.005637, allocations: 170.5 kB / 0.5241 GB, free: 13.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.005653, allocations: 30.27 kB / 0.5241 GB, free: 13.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.005702, allocations: 131.1 kB / 0.5242 GB, free: 13.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.005727, allocations: 32.41 kB / 0.5243 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.005767, allocations: 44.17 kB / 0.5243 GB, free: 13.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.005946, allocations: 496.1 kB / 0.5248 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.00598, allocations: 21.7 kB / 0.5248 GB, free: 12.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-05/0.006027, allocations: 49.16 kB / 0.5248 GB, free: 12.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.755e-05/0.006104, allocations: 72.95 kB / 0.5249 GB, free: 12.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006106, allocations: 0.9375 kB / 0.5249 GB, free: 12.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001226/0.006229, allocations: 110.6 kB / 0.525 GB, free: 12.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.006242, allocations: 7.938 kB / 0.525 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006246, allocations: 0 / 0.525 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.006259, allocations: 5.531 kB / 0.525 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.006347, allocations: 19.98 kB / 0.525 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.006352, allocations: 3.938 kB / 0.5251 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.00638, allocations: 4 kB / 0.5251 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.006388, allocations: 8.812 kB / 0.5251 GB, free: 12.38 MB / 458.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 9.575e-05/0.006484, allocations: 173.8 kB / 0.5252 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.006497, allocations: 11.89 kB / 0.5252 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.006635, allocations: 106 kB / 0.5253 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.006638, allocations: 5.344 kB / 0.5253 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.006642, allocations: 0 / 0.5253 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006645, allocations: 0 / 0.5253 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.006906, allocations: 369.2 kB / 0.5257 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006907, allocations: 2.562 kB / 0.5257 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.006938, allocations: 8 kB / 0.5257 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.00694, allocations: 0 / 0.5257 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.006948, allocations: 4 kB / 0.5257 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006949, allocations: 0 / 0.5257 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.006951, allocations: 4 kB / 0.5257 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.007103, allocations: 264.3 kB / 0.526 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.00711, allocations: 10.7 kB / 0.526 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.007125, allocations: 0 / 0.526 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.56e-05/0.00717, allocations: 7.984 kB / 0.526 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.007214, allocations: 11.98 kB / 0.526 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.007221, allocations: 4 kB / 0.526 GB, free: 11.35 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.353e-05/0.007264, allocations: 127.1 kB / 0.5261 GB, free: 11.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007264, allocations: 0 / 0.5261 GB, free: 11.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.007433, allocations: 21.09 kB / 0.5261 GB, free: 11.21 MB / 458.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 0.0001306/0.007564, allocations: 108.3 kB / 0.5262 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.0077, allocations: 67.62 kB / 0.5263 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.007702, allocations: 0.9375 kB / 0.5263 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.816e-05/0.00775, allocations: 35.61 kB / 0.5263 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.007959, allocations: 20.58 kB / 0.5264 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/0.00871, allocations: 168.2 kB / 0.5265 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.008752, allocations: 65.73 kB / 0.5266 GB, free: 10.69 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.295e-05/0.008785, allocations: 8.484 kB / 0.5266 GB, free: 10.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.008811, allocations: 12.5 kB / 0.5266 GB, free: 10.67 MB / 458.7 MB Notification: Performance of SimCode: time 1.242e-06/0.008812, allocations: 0 / 0.5266 GB, free: 10.67 MB / 458.7 MB Notification: Performance of Templates: time 0.002775/0.01159, allocations: 1.087 MB / 0.5277 GB, free: 9.652 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.734167731832713]