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.001284/0.001284, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00142/0.00142, allocations: 177 kB / 24.07 MB, free: 448 kB / 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.9305/0.9305, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.783/0.783, allocations: 154.6 MB / 415.6 MB, free: 0.5078 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.635e-06/2.635e-06, allocations: 0.6562 kB / 0.5215 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.996e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002087/0.002116, allocations: 0.668 MB / 0.5222 GB, free: 1.316 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.003598, allocations: 1.129 MB / 0.5233 GB, free: 180 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.003651, allocations: 7.875 kB / 0.5233 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.003678, allocations: 3.938 kB / 0.5233 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.003745, allocations: 4.609 kB / 0.5233 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.004013, allocations: 52.58 kB / 0.5233 GB, free: 112 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.765e-05/0.00411, allocations: 75.75 kB / 0.5234 GB, free: 36 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.00419, allocations: 7.984 kB / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.28e-05/0.004283, allocations: 45.7 kB / 0.5235 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.004328, allocations: 23.91 kB / 0.5235 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.004343, allocations: 4 kB / 0.5235 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.437e-05/0.004407, allocations: 27.97 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.004427, allocations: 12.55 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.004452, allocations: 27.91 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.004562, allocations: 64.73 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004564, allocations: 0 / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004565, allocations: 1.375 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.004569, allocations: 0 / 0.5236 GB, free: 15.83 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.0004101/0.004979, allocations: 405.2 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.005012, allocations: 12.02 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.005101, allocations: 14.14 kB / 0.524 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.449e-05/0.005175, allocations: 116.5 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.005193, allocations: 8.375 kB / 0.5241 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.005205, allocations: 14.97 kB / 0.5242 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.005312, allocations: 74.91 kB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.005319, allocations: 192 / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.005327, allocations: 4.359 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.005333, allocations: 4.375 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.281e-05/0.005365, allocations: 23.86 kB / 0.5243 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.00566, allocations: 268.9 kB / 0.5245 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.803e-05/0.005738, allocations: 60.38 kB / 0.5246 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.00576, allocations: 19.67 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.005774, allocations: 4 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.528e-05/0.00585, allocations: 73.94 kB / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 8.31e-07/0.005851, allocations: 192 / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001739/0.006024, allocations: 110.4 kB / 0.5248 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.006058, allocations: 67.33 kB / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.006124, allocations: 169.9 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.006139, allocations: 30.64 kB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.006186, allocations: 135.1 kB / 0.5252 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.006209, allocations: 32.36 kB / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.006248, allocations: 31.36 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.006365, allocations: 0.493 MB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.006385, allocations: 15.98 kB / 0.5257 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.006423, allocations: 40.27 kB / 0.5258 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.351e-05/0.006487, allocations: 63.59 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006489, allocations: 0 / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001035/0.006592, allocations: 101.7 kB / 0.5259 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.006604, allocations: 9.719 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.006609, allocations: 3.938 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.006618, allocations: 3.984 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.006691, allocations: 21.62 kB / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.006696, allocations: 7.922 kB / 0.526 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.006726, allocations: 11.94 kB / 0.526 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.006735, allocations: 4 kB / 0.526 GB, free: 13.2 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.497e-05/0.00681, allocations: 163.3 kB / 0.5261 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.006823, allocations: 11.95 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.006943, allocations: 106 kB / 0.5262 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.006946, allocations: 4 kB / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.006947, allocations: 0 / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.006951, allocations: 0 / 0.5262 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.007176, allocations: 345.1 kB / 0.5266 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.007177, allocations: 0 / 0.5266 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.007212, allocations: 8.25 kB / 0.5266 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.007216, allocations: 3.938 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.007226, allocations: 11.98 kB / 0.5266 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007227, allocations: 0 / 0.5266 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.007229, allocations: 7.938 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.007365, allocations: 235.9 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.007372, allocations: 13.73 kB / 0.5268 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.007385, allocations: 3.938 kB / 0.5268 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.613e-05/0.007431, allocations: 7.984 kB / 0.5269 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.007462, allocations: 15.91 kB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.007469, allocations: 8 kB / 0.5269 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.007505, allocations: 125.4 kB / 0.527 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007505, allocations: 0 / 0.527 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001639/0.007669, allocations: 23.92 kB / 0.527 GB, free: 12.06 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.0001208/0.00779, allocations: 103.2 kB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.939e-05/0.007889, allocations: 58.34 kB / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.007891, allocations: 0 / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.007929, allocations: 35.61 kB / 0.5272 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.008103, allocations: 8.828 kB / 0.5272 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.008477, allocations: 172.2 kB / 0.5274 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.144e-05/0.008509, allocations: 55.36 kB / 0.5274 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.008536, allocations: 9.234 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.008587, allocations: 78.2 kB / 0.5275 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.008588, allocations: 2.094 kB / 0.5275 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.002671/0.01126, allocations: 1.203 MB / 0.5287 GB, free: 10.36 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.564659021794796]