Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001542/0.001542, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.545/1.545, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.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.888/1.888, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001338/0.001338, allocations: 61.08 kB / 0.6708 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2617, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001913/0.2637, allocations: 0.6142 MB / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.379e-05/0.2638, allocations: 0 / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.2638, allocations: 4 kB / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.2638, allocations: 0 / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.439e-05/0.2639, allocations: 0 / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.253e-05/0.2639, allocations: 0 / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.486e-05/0.2639, allocations: 0 / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.994e-05/0.264, allocations: 8 kB / 0.7833 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.264, allocations: 3.984 kB / 0.7833 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.098e-05/0.2641, allocations: 7.938 kB / 0.7833 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2641, allocations: 3.938 kB / 0.7833 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.319e-06/0.2641, allocations: 0 / 0.7833 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.2641, allocations: 0 / 0.7833 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.2642, allocations: 0 / 0.7833 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.689e-05/0.2642, allocations: 0 / 0.7833 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2642, allocations: 7.938 kB / 0.7833 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2642, allocations: 0 / 0.7833 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.2642, allocations: 0 / 0.7833 GB, free: 13.35 MB / 0.6075 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.0002882/0.2645, allocations: 307.5 kB / 0.7836 GB, free: 13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2646, allocations: 16.09 kB / 0.7836 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.2646, allocations: 4.938 kB / 0.7836 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2647, allocations: 160.4 kB / 0.7838 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.2647, allocations: 384 / 0.7838 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.2647, allocations: 384 / 0.7838 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.161e-05/0.2648, allocations: 34.25 kB / 0.7838 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2648, allocations: 4.125 kB / 0.7838 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2649, allocations: 3.938 kB / 0.7838 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2649, allocations: 0 / 0.7838 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.607e-05/0.2649, allocations: 7.938 kB / 0.7838 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.2652, allocations: 383.4 kB / 0.7842 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/0.2653, allocations: 173.1 kB / 0.7844 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.2653, allocations: 80.14 kB / 0.7844 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.2653, allocations: 75.28 kB / 0.7845 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.2654, allocations: 117.8 kB / 0.7846 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.2654, allocations: 0 / 0.7846 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.567e-05/0.2654, allocations: 25.73 kB / 0.7847 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.2655, allocations: 130.7 kB / 0.7848 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.2656, allocations: 97.84 kB / 0.7849 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.2656, allocations: 25.7 kB / 0.7849 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.2656, allocations: 84.27 kB / 0.785 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.2656, allocations: 4 kB / 0.785 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.2656, allocations: 13.72 kB / 0.785 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.2657, allocations: 310.8 kB / 0.7853 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-06/0.2657, allocations: 0 / 0.7853 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-06/0.2658, allocations: 0 / 0.7853 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/0.2658, allocations: 75.28 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/0.2658, allocations: 75.28 kB / 0.7854 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.009e-05/0.2659, allocations: 41.58 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.2659, allocations: 79.28 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.2659, allocations: 83.27 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.023e-05/0.266, allocations: 154.5 kB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.092e-05/0.266, allocations: 75.28 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.111e-05/0.2661, allocations: 154.6 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.2661, allocations: 83.22 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.2662, allocations: 79.28 kB / 0.7862 GB, free: 10.21 MB / 0.6075 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 9.599e-05/0.2663, allocations: 260.3 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.2663, allocations: 110 kB / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.2664, allocations: 112 kB / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/0.2664, allocations: 184.2 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.784e-05/0.2665, allocations: 180.3 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-05/0.2665, allocations: 180.2 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2667, allocations: 417 kB / 0.7875 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/0.2668, allocations: 105 kB / 0.7876 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.2668, allocations: 108.9 kB / 0.7877 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.439e-05/0.2669, allocations: 188.6 kB / 0.7879 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/0.2669, allocations: 176.3 kB / 0.7881 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.644e-05/0.267, allocations: 180.2 kB / 0.7883 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.057e-05/0.267, allocations: 180.3 kB / 0.7884 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.2671, allocations: 315.7 kB / 0.7887 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.2672, allocations: 182.1 kB / 0.7889 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.2673, allocations: 180.2 kB / 0.7891 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.2674, allocations: 101 kB / 0.7892 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.2674, allocations: 184.2 kB / 0.7893 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.2675, allocations: 109 kB / 0.7894 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.2675, allocations: 79.28 kB / 0.7895 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2675, allocations: 0 / 0.7895 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002363/0.2678, allocations: 0 / 0.7895 GB, free: 6.531 MB / 0.6075 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.0001422/0.2679, allocations: 174.5 kB / 0.7897 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.406e-05/0.2679, allocations: 0 / 0.7897 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.268, allocations: 0 / 0.7897 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.268, allocations: 3.938 kB / 0.7897 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.2684, allocations: 0.5336 MB / 0.7902 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.2686, allocations: 154 kB / 0.7904 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.2688, allocations: 0.6692 MB / 0.791 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.185e-06/0.2688, allocations: 0 / 0.791 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.2689, allocations: 7.438 kB / 0.791 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.2689, allocations: 0 / 0.791 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of Templates: time 0.001912/0.2708, allocations: 164.9 kB / 0.7912 GB, free: 4.766 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)