Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 288.4 MB / 303.4 MB, free: 8.016 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.001043/0.001043, allocations: 168.6 kB / 372 MB, free: 10.23 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.745/1.745, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.000935/0.000935, allocations: 92.89 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.0004243, allocations: 11.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00444/0.249, allocations: 2.131 MB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.251, allocations: 0.7209 MB / 0.9824 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.2512, allocations: 4 kB / 0.9824 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.2515, allocations: 31.78 kB / 0.9824 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.252, allocations: 83.69 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.2525, allocations: 83.77 kB / 0.9826 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.2529, allocations: 231.3 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.2533, allocations: 171.2 kB / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.2534, allocations: 63.77 kB / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.2538, allocations: 91.66 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.2538, allocations: 4 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.254, allocations: 47.97 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.2541, allocations: 55.8 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.2542, allocations: 49.64 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.2546, allocations: 167.9 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.2546, allocations: 0 / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2546, allocations: 0 / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.2546, allocations: 0 / 0.9834 GB, free: 23.68 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000856/0.2555, allocations: 427.1 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.2556, allocations: 11.97 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006369/0.2562, allocations: 43.78 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.2566, allocations: 214.8 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.2566, allocations: 12.28 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.2567, allocations: 12 kB / 0.9841 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.2573, allocations: 230.7 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.2573, allocations: 0 / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.2573, allocations: 8 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-05/0.2574, allocations: 16.27 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.2579, allocations: 148.7 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.2594, allocations: 1.13 MB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.2595, allocations: 46.5 kB / 0.9856 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.2596, allocations: 12.86 kB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.2596, allocations: 4 kB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2597, allocations: 38.61 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.435e-06/0.2597, allocations: 0 / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003269/0.26, allocations: 69.58 kB / 0.9857 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.2601, allocations: 51.41 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.2603, allocations: 176.8 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2604, allocations: 29.7 kB / 0.986 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.2605, allocations: 143.4 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.2605, allocations: 19.69 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.2605, allocations: 0 / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.2606, allocations: 322.8 kB / 0.9865 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.2607, allocations: 19.98 kB / 0.9865 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.2608, allocations: 94.75 kB / 0.9866 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.261, allocations: 35.92 kB / 0.9866 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.261, allocations: 4 kB / 0.9866 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003185/0.2613, allocations: 129.4 kB / 0.9867 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.2614, allocations: 171.2 kB / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2615, allocations: 0 / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.2615, allocations: 4 kB / 0.9869 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.2617, allocations: 23.98 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.2617, allocations: 4 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.2619, allocations: 19.78 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.2619, allocations: 4 kB / 0.9869 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.262, allocations: 4 kB / 0.9869 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002362/0.2622, allocations: 103.7 kB / 0.987 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2622, allocations: 7.938 kB / 0.9871 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.2623, allocations: 4 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.2624, allocations: 23.98 kB / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2624, allocations: 0 / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2626, allocations: 19.8 kB / 0.9871 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2626, allocations: 11.94 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 0.0001516/0.2628, allocations: 209.4 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.2628, allocations: 7.906 kB / 0.9873 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.2629, allocations: 16.92 kB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2629, allocations: 0 / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2629, allocations: 0 / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2629, allocations: 8.234 kB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.2635, allocations: 473.1 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2635, allocations: 4 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.2636, allocations: 4 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.2636, allocations: 11.94 kB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2636, allocations: 0 / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2637, allocations: 4 kB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2637, allocations: 0 / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.2638, allocations: 115.7 kB / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.2639, allocations: 92.92 kB / 0.988 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.264, allocations: 7.938 kB / 0.988 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.2641, allocations: 4 kB / 0.988 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.2641, allocations: 3.938 kB / 0.988 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.2641, allocations: 4 kB / 0.988 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001192/0.2642, allocations: 133.6 kB / 0.9882 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2643, allocations: 0 / 0.9882 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005984/0.2649, allocations: 51.84 kB / 0.9882 GB, free: 18.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.000118/0.265, allocations: 103.1 kB / 0.9883 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.2653, allocations: 109 kB / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.2653, allocations: 0 / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.311e-05/0.2654, allocations: 23.92 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.2658, allocations: 16.73 kB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006614/0.2665, allocations: 317.1 kB / 0.9888 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.2667, allocations: 0.728 MB / 0.9895 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.2669, allocations: 28.61 kB / 0.9895 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.267, allocations: 11.44 kB / 0.9895 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.267, allocations: 0 / 0.9895 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.005138/0.2721, allocations: 0.7945 MB / 0.9903 GB, free: 16.07 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)