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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.3 MB / 308.1 MB, free: 4.238 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.001886/0.001886, allocations: 183.7 kB / 376.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001066, allocations: 103.5 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001078, allocations: 59.91 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2495, allocations: 114.5 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00194/0.2515, allocations: 0.6221 MB / 0.9829 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 3.447e-05/0.2516, allocations: 8 kB / 0.9829 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.2516, allocations: 0 / 0.9829 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.2517, allocations: 0 / 0.9829 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.568e-05/0.2517, allocations: 0 / 0.9829 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.167e-05/0.2517, allocations: 0 / 0.9829 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.735e-05/0.2518, allocations: 4 kB / 0.9829 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.2518, allocations: 3.984 kB / 0.9829 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.393e-05/0.2518, allocations: 3.938 kB / 0.9829 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.516e-05/0.2519, allocations: 0 / 0.9829 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.2519, allocations: 0 / 0.9829 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-06/0.2519, allocations: 4 kB / 0.9829 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.2519, allocations: 4 kB / 0.9829 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.2519, allocations: 0 / 0.9829 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.594e-05/0.252, allocations: 11.92 kB / 0.9829 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.252, allocations: 0 / 0.9829 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.91e-07/0.252, allocations: 0 / 0.9829 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.252, allocations: 0 / 0.9829 GB, free: 9.676 MB / 0.7136 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.0003278/0.2524, allocations: 315.5 kB / 0.9832 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2524, allocations: 8.031 kB / 0.9832 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.2525, allocations: 0.9375 kB / 0.9832 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2526, allocations: 172.3 kB / 0.9834 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2526, allocations: 384 / 0.9834 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.2526, allocations: 384 / 0.9834 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.317e-05/0.2527, allocations: 26.27 kB / 0.9834 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2527, allocations: 192 / 0.9834 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2527, allocations: 7.922 kB / 0.9834 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2527, allocations: 4 kB / 0.9834 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.2527, allocations: 4 kB / 0.9834 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.2531, allocations: 387.5 kB / 0.9838 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.86e-05/0.2531, allocations: 169.1 kB / 0.9839 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.2532, allocations: 84.12 kB / 0.984 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.2532, allocations: 75.28 kB / 0.9841 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.2533, allocations: 113.8 kB / 0.9842 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2533, allocations: 4 kB / 0.9842 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.973e-05/0.2534, allocations: 33.67 kB / 0.9842 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.2534, allocations: 126.7 kB / 0.9844 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.2535, allocations: 97.86 kB / 0.9845 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.2535, allocations: 25.7 kB / 0.9845 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.2536, allocations: 80.14 kB / 0.9846 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.2536, allocations: 0 / 0.9846 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.2536, allocations: 13.84 kB / 0.9846 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2537, allocations: 318.8 kB / 0.9849 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.2537, allocations: 0 / 0.9849 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-06/0.2537, allocations: 0 / 0.9849 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.316e-05/0.2537, allocations: 75.28 kB / 0.9849 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/0.2538, allocations: 75.28 kB / 0.985 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.232e-05/0.2538, allocations: 41.58 kB / 0.9851 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.2539, allocations: 81.94 kB / 0.9851 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.2539, allocations: 79.28 kB / 0.9852 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-05/0.254, allocations: 154.5 kB / 0.9854 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.393e-05/0.254, allocations: 83.28 kB / 0.9854 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.359e-05/0.2541, allocations: 154.5 kB / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.2541, allocations: 79.22 kB / 0.9857 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.2542, allocations: 79.22 kB / 0.9857 GB, free: 6.535 MB / 0.7136 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 0.0001147/0.2543, allocations: 272.3 kB / 0.986 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.2544, allocations: 104.9 kB / 0.9861 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.2544, allocations: 104.1 kB / 0.9862 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.238e-05/0.2545, allocations: 180.2 kB / 0.9864 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.797e-05/0.2545, allocations: 184.2 kB / 0.9865 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.876e-05/0.2546, allocations: 180.3 kB / 0.9867 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.2548, allocations: 409.1 kB / 0.9871 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/0.2549, allocations: 105 kB / 0.9872 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.2549, allocations: 105.3 kB / 0.9873 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.626e-05/0.255, allocations: 180.2 kB / 0.9875 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.2551, allocations: 188.3 kB / 0.9877 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.327e-05/0.2551, allocations: 188.2 kB / 0.9878 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.592e-05/0.2552, allocations: 176.3 kB / 0.988 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.2555, allocations: 0.8414 MB / 0.9888 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.2556, allocations: 182.1 kB / 0.989 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.2557, allocations: 176.3 kB / 0.9892 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.2558, allocations: 116.9 kB / 0.9893 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.2558, allocations: 176.3 kB / 0.9894 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.2559, allocations: 108.9 kB / 0.9895 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.2559, allocations: 83.28 kB / 0.9896 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2559, allocations: 3.938 kB / 0.9896 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003757/0.2563, allocations: 0 / 0.9896 GB, free: 2.277 MB / 0.7136 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 (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.0001712/0.2565, allocations: 170.5 kB / 0.9898 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.229e-05/0.2565, allocations: 7.984 kB / 0.9898 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2566, allocations: 0 / 0.9898 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.2566, allocations: 0 / 0.9898 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.2569, allocations: 0.5248 MB / 0.9903 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002059/0.2572, allocations: 157.9 kB / 0.9905 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.2574, allocations: 0.677 MB / 0.9911 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.245e-06/0.2574, allocations: 0 / 0.9911 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.2575, allocations: 7.438 kB / 0.9911 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.2575, allocations: 0 / 0.9911 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of Templates: time 0.001711/0.2592, allocations: 171.5 kB / 0.9913 GB, free: 0.5039 MB / 0.7136 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)