Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.866/1.866, allocations: 288.3 MB / 303.2 MB, free: 8.148 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.001151/0.001151, allocations: 179.6 kB / 371.8 MB, free: 10.31 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.669/1.669, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.000904/0.000904, allocations: 90.86 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 11.12 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002525/0.2186, allocations: 2.228 MB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2203, allocations: 1.385 MB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.2204, allocations: 11.94 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.2206, allocations: 27.84 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.2209, allocations: 115.6 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.2212, allocations: 123.6 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.2214, allocations: 119.8 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.2218, allocations: 322.3 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.222, allocations: 59.83 kB / 0.9837 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.2221, allocations: 75.69 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.2222, allocations: 8 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.2223, allocations: 119.8 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.2224, allocations: 59.81 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.2224, allocations: 53.64 kB / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.2227, allocations: 243.7 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2227, allocations: 0 / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2227, allocations: 0 / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2227, allocations: 7.938 kB / 0.9842 GB, free: 22.75 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006019/0.2233, allocations: 451.1 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2234, allocations: 12.02 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005861/0.224, allocations: 91.58 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.2242, allocations: 226.7 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2242, allocations: 16.33 kB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.2243, allocations: 15.94 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.2247, allocations: 315.8 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2247, allocations: 4 kB / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.2247, allocations: 12 kB / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.2248, allocations: 20.2 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.2251, allocations: 248.6 kB / 0.9856 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.2264, allocations: 1.634 MB / 0.9872 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.2269, allocations: 415.1 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.2271, allocations: 85.09 kB / 0.9877 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.2271, allocations: 42.56 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.876e-06/0.2271, allocations: 3.984 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005994/0.2277, allocations: 304.7 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.2277, allocations: 77.11 kB / 0.9881 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2279, allocations: 173.2 kB / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.2279, allocations: 25.7 kB / 0.9883 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.228, allocations: 159.9 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.228, allocations: 47.36 kB / 0.9885 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.228, allocations: 3.938 kB / 0.9885 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.2281, allocations: 326.8 kB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.913e-05/0.2282, allocations: 75.95 kB / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.2283, allocations: 154.5 kB / 0.989 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.2284, allocations: 97.16 kB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2284, allocations: 3.938 kB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003168/0.2288, allocations: 273.2 kB / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.2289, allocations: 0.9615 MB / 0.9903 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2289, allocations: 4 kB / 0.9903 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.229, allocations: 4 kB / 0.9903 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.2292, allocations: 55.95 kB / 0.9903 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2292, allocations: 7.938 kB / 0.9904 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.2294, allocations: 23.83 kB / 0.9904 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.2294, allocations: 8 kB / 0.9904 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.112e-06/0.2294, allocations: 4 kB / 0.9904 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002578/0.2297, allocations: 215.9 kB / 0.9906 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.2297, allocations: 8.031 kB / 0.9906 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.107e-06/0.2297, allocations: 4 kB / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.2299, allocations: 47.91 kB / 0.9907 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2299, allocations: 4 kB / 0.9907 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.23, allocations: 15.98 kB / 0.9907 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.23, allocations: 11.95 kB / 0.9907 GB, free: 15.62 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 (25): * Single equations (assignments): 25 * 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.0001082/0.2301, allocations: 221 kB / 0.9909 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.2302, allocations: 15.8 kB / 0.9909 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.2305, allocations: 207.7 kB / 0.9911 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2305, allocations: 0 / 0.9911 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2305, allocations: 0 / 0.9911 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2305, allocations: 4 kB / 0.9911 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.2315, allocations: 0.9655 MB / 0.9921 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2316, allocations: 8.031 kB / 0.9921 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.2317, allocations: 31.92 kB / 0.9921 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2317, allocations: 4 kB / 0.9921 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2317, allocations: 8 kB / 0.9921 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2317, allocations: 7.984 kB / 0.9921 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2317, allocations: 8 kB / 0.9921 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.2321, allocations: 0.5836 MB / 0.9927 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.2322, allocations: 108.8 kB / 0.9928 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.2322, allocations: 7.984 kB / 0.9928 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.2324, allocations: 15.98 kB / 0.9928 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.2324, allocations: 23.88 kB / 0.9928 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.2325, allocations: 12 kB / 0.9928 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.452e-05/0.2326, allocations: 131.8 kB / 0.993 GB, free: 13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2326, allocations: 0 / 0.993 GB, free: 13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005033/0.2331, allocations: 76 kB / 0.993 GB, free: 12.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (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 Backend phase and start with SimCode phase: time 0.0001429/0.2332, allocations: 107.2 kB / 0.9931 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.2337, allocations: 299.5 kB / 0.9934 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2337, allocations: 0 / 0.9934 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.655e-05/0.2338, allocations: 81.83 kB / 0.9935 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.2341, allocations: 33.92 kB / 0.9935 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.2348, allocations: 0.5684 MB / 0.9941 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.235, allocations: 0.7519 MB / 0.9948 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.2352, allocations: 77.61 kB / 0.9949 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.2353, allocations: 23.38 kB / 0.9949 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2353, allocations: 0 / 0.9949 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.00384/0.2391, allocations: 1.659 MB / 0.9965 GB, free: 9.277 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)