Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 108.8 kB / 16.38 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 184 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.1 MB / 223.2 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.913/1.913, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001489, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2848, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002056/0.287, allocations: 0.5571 MB / 0.7854 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 4.736e-05/0.287, allocations: 7.938 kB / 0.7854 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.2871, allocations: 4 kB / 0.7854 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.2871, allocations: 0 / 0.7854 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.795e-05/0.2871, allocations: 4 kB / 0.7854 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.074e-05/0.2872, allocations: 0 / 0.7854 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.447e-05/0.2872, allocations: 0 / 0.7854 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.942e-05/0.2873, allocations: 4 kB / 0.7854 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.2873, allocations: 0 / 0.7854 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.204e-05/0.2874, allocations: 3.938 kB / 0.7854 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.2874, allocations: 0 / 0.7854 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-06/0.2874, allocations: 0 / 0.7854 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.2874, allocations: 3.984 kB / 0.7854 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.2874, allocations: 0 / 0.7854 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.133e-05/0.2875, allocations: 8 kB / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2875, allocations: 4 kB / 0.7854 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.589e-06/0.2875, allocations: 3.984 kB / 0.7854 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2875, allocations: 0 / 0.7854 GB, free: 2.559 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003847/0.2879, allocations: 307.6 kB / 0.7857 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.288, allocations: 11.97 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.288, allocations: 0.9375 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2882, allocations: 160.4 kB / 0.7859 GB, free: 2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.2882, allocations: 384 / 0.7859 GB, free: 2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.2882, allocations: 12.3 kB / 0.7859 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.231e-05/0.2883, allocations: 38.27 kB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2883, allocations: 4.172 kB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2883, allocations: 7.875 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2883, allocations: 0 / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.574e-05/0.2884, allocations: 0 / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.2887, allocations: 383.5 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.076e-05/0.2888, allocations: 181.1 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.2889, allocations: 80.14 kB / 0.7865 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.2889, allocations: 75.28 kB / 0.7866 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.2889, allocations: 105.8 kB / 0.7867 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.289, allocations: 0 / 0.7867 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.433e-05/0.289, allocations: 29.64 kB / 0.7867 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.2891, allocations: 55.41 kB / 0.7868 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.2892, allocations: 101.8 kB / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2892, allocations: 25.7 kB / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.2892, allocations: 80.14 kB / 0.787 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.2892, allocations: 4 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.2892, allocations: 9.719 kB / 0.787 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2894, allocations: 310.8 kB / 0.7873 GB, free: 404 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-06/0.2894, allocations: 4.125 kB / 0.7873 GB, free: 400 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-06/0.2894, allocations: 0 / 0.7873 GB, free: 400 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/0.2894, allocations: 75.28 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.6e-05/0.2894, allocations: 79.28 kB / 0.7875 GB, free: 244 kB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.79e-05/0.2895, allocations: 41.48 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.2895, allocations: 79.28 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.2896, allocations: 83.27 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5415/0.831, allocations: 150.6 kB / 0.7878 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.711e-05/0.8311, allocations: 78.66 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.827e-05/0.8311, allocations: 154.4 kB / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.8312, allocations: 77.16 kB / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.8313, allocations: 77.75 kB / 0.7882 GB, free: 47.93 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.813e-05/0.8314, allocations: 261.9 kB / 0.7884 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.8314, allocations: 108.4 kB / 0.7885 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.8315, allocations: 115 kB / 0.7886 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.061e-05/0.8315, allocations: 185.9 kB / 0.7888 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.8315, allocations: 102.1 kB / 0.7889 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.8316, allocations: 183.6 kB / 0.7891 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.8316, allocations: 185.3 kB / 0.7893 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.8317, allocations: 105.4 kB / 0.7894 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.8317, allocations: 181.5 kB / 0.7895 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.619e-05/0.8318, allocations: 257.7 kB / 0.7898 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001246/0.8319, allocations: 388.2 kB / 0.7901 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.129e-05/0.832, allocations: 104.7 kB / 0.7902 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.709e-05/0.832, allocations: 79.73 kB / 0.7903 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of Backend: time 8.41e-07/0.832, allocations: 0 / 0.7903 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.8325, allocations: 79.97 kB / 0.7904 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004006/0.8329, allocations: 0.8946 MB / 0.7913 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.002328/0.8352, allocations: 181.6 kB / 0.7914 GB, free: 44.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)