Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.949/2.949, allocations: 287.5 MB / 302.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 180.7 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009504/0.0009503, allocations: 88.25 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005342, allocations: 16.7 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.236, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007808/0.2368, allocations: 293.9 kB / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 4.095e-05/0.2369, allocations: 4 kB / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.2369, allocations: 0 / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.2369, allocations: 0 / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.098e-05/0.237, allocations: 0 / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.653e-05/0.237, allocations: 0 / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.783e-05/0.2371, allocations: 7.938 kB / 0.9787 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.2371, allocations: 7.984 kB / 0.9787 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.453e-05/0.2372, allocations: 4 kB / 0.9787 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.714e-05/0.2372, allocations: 0 / 0.9787 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.2372, allocations: 0 / 0.9787 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-06/0.2372, allocations: 0 / 0.9787 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.226e-06/0.2372, allocations: 0 / 0.9787 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.2373, allocations: 25.7 kB / 0.9787 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.57e-05/0.2373, allocations: 0 / 0.9787 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2373, allocations: 0 / 0.9787 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2373, allocations: 0 / 0.9787 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2373, allocations: 4 kB / 0.9787 GB, free: 27.98 MB / 0.6198 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.0002225/0.2376, allocations: 311.4 kB / 0.979 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2376, allocations: 8.094 kB / 0.979 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.2377, allocations: 0 / 0.979 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.654e-05/0.2378, allocations: 171 kB / 0.9792 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2378, allocations: 0 / 0.9792 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.2378, allocations: 0 / 0.9792 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.459e-05/0.2379, allocations: 29.64 kB / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2379, allocations: 0 / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2379, allocations: 7.938 kB / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2379, allocations: 4 kB / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.238, allocations: 0 / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.2382, allocations: 383.5 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.074e-05/0.2383, allocations: 169.1 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.2383, allocations: 84.08 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2384, allocations: 79.28 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2384, allocations: 117.9 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.2384, allocations: 0 / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.239e-05/0.2385, allocations: 29.61 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.2385, allocations: 126.7 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.2386, allocations: 101.8 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.2386, allocations: 25.7 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.2387, allocations: 84.12 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.2387, allocations: 0 / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-07/0.2387, allocations: 0 / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.2388, allocations: 322.8 kB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-06/0.2388, allocations: 0 / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-06/0.2388, allocations: 0 / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.991e-05/0.2388, allocations: 83.27 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.2388, allocations: 79.41 kB / 0.9808 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.635e-05/0.2389, allocations: 25.7 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.239, allocations: 83.28 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.239, allocations: 79.22 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.818e-05/0.239, allocations: 150.6 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.637e-05/0.2391, allocations: 75.28 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.134e-05/0.2391, allocations: 158.5 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.601e-05/0.2392, allocations: 87.27 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2392, allocations: 79.22 kB / 0.9815 GB, free: 24.86 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.341e-05/0.2393, allocations: 260.4 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.2394, allocations: 105 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.2394, allocations: 112 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.578e-05/0.2394, allocations: 181.1 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.306e-05/0.2395, allocations: 184.2 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.491e-05/0.2395, allocations: 184.2 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.2397, allocations: 397.2 kB / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/0.2398, allocations: 112.8 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.2398, allocations: 109 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.481e-05/0.2398, allocations: 184.3 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.2399, allocations: 184.5 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.458e-05/0.2399, allocations: 176.3 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.735e-05/0.24, allocations: 188.2 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.106e-05/0.2401, allocations: 311.8 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.2401, allocations: 182 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.2402, allocations: 180.2 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.2403, allocations: 104.9 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.2403, allocations: 180.3 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.2404, allocations: 108.9 kB / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.2404, allocations: 79.28 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2404, allocations: 3.938 kB / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003203/0.2408, allocations: 4 kB / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000129/0.2409, allocations: 174.5 kB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.206e-05/0.2409, allocations: 0 / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.241, allocations: 0 / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.241, allocations: 4.094 kB / 0.9851 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.2413, allocations: 0.5291 MB / 0.9856 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.2415, allocations: 146 kB / 0.9857 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.2417, allocations: 0.6731 MB / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.031e-05/0.2417, allocations: 0 / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.2417, allocations: 15.38 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of SimCode: time 1.593e-06/0.2418, allocations: 0 / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.002203/0.244, allocations: 156.1 kB / 0.9866 GB, free: 19.43 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)