Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 80.88 kB / 20.82 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009397/0.0009397, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9472/0.9472, allocations: 177.1 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.846/1.846, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7753 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.278e-05, allocations: 3.5 kB / 0.7754 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002833/0.002846, allocations: 2.264 MB / 0.7776 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.004301, allocations: 1.097 MB / 0.7786 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.004406, allocations: 4.594 kB / 0.7786 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.004771, allocations: 84.73 kB / 0.7787 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.005057, allocations: 155.1 kB / 0.7789 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.005292, allocations: 125.2 kB / 0.779 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.005522, allocations: 252 kB / 0.7792 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.005726, allocations: 143.2 kB / 0.7794 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.005916, allocations: 149.2 kB / 0.7795 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.006103, allocations: 107.7 kB / 0.7796 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.006126, allocations: 16 kB / 0.7796 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.00633, allocations: 148.4 kB / 0.7798 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.006393, allocations: 79.8 kB / 0.7798 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.006444, allocations: 63.83 kB / 0.7799 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.006689, allocations: 232.5 kB / 0.7801 GB, free: 424 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.00669, allocations: 0 / 0.7801 GB, free: 424 kB / 0.7292 GB Notification: Performance of FrontEnd: time 5.61e-07/0.006691, allocations: 0 / 0.7801 GB, free: 424 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.006695, allocations: 0.9375 kB / 0.7801 GB, free: 424 kB / 0.7292 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.0004052/0.0071, allocations: 380.3 kB / 0.7805 GB, free: 16 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.007132, allocations: 9.656 kB / 0.7805 GB, free: 8 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.007493, allocations: 104.7 kB / 0.7806 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.007664, allocations: 168.6 kB / 0.7808 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.007677, allocations: 18.44 kB / 0.7808 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.007704, allocations: 16.38 kB / 0.7808 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.007933, allocations: 249.2 kB / 0.781 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.007944, allocations: 192 / 0.781 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.007959, allocations: 5.062 kB / 0.781 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.007986, allocations: 24.2 kB / 0.7811 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.008089, allocations: 83.23 kB / 0.7811 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.008836, allocations: 1.067 MB / 0.7822 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.009066, allocations: 180.4 kB / 0.7824 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.009104, allocations: 30.27 kB / 0.7824 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.293e-05/0.009167, allocations: 9.594 kB / 0.7824 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.009189, allocations: 38.5 kB / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.00919, allocations: 0 / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002689/0.009459, allocations: 118.4 kB / 0.7825 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.009491, allocations: 81.98 kB / 0.7826 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.009803, allocations: 169.3 kB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.009814, allocations: 26.27 kB / 0.7828 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.009873, allocations: 156.2 kB / 0.783 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.009899, allocations: 56.27 kB / 0.783 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.009951, allocations: 49.62 kB / 0.7831 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.01002, allocations: 327.9 kB / 0.7834 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.01005, allocations: 24.86 kB / 0.7834 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.01012, allocations: 106.2 kB / 0.7835 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.01024, allocations: 148 kB / 0.7836 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01024, allocations: 4 kB / 0.7836 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001476/0.01039, allocations: 143.6 kB / 0.7838 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.0104, allocations: 8.938 kB / 0.7838 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.0104, allocations: 0 / 0.7838 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.01041, allocations: 4.938 kB / 0.7838 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.01054, allocations: 51.91 kB / 0.7838 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.01055, allocations: 4 kB / 0.7838 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.815e-05/0.01061, allocations: 5.062 kB / 0.7838 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.01062, allocations: 19.94 kB / 0.7839 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.443e-05/0.01068, allocations: 113.6 kB / 0.784 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.359e-05/0.01075, allocations: 102.2 kB / 0.7841 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.937e-05/0.01085, allocations: 142.3 kB / 0.7842 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.01085, allocations: 3.984 kB / 0.7842 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0001269/0.01098, allocations: 139.2 kB / 0.7843 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-06/0.01098, allocations: 8 kB / 0.7843 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-06/0.01098, allocations: 0 / 0.7843 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-06/0.01099, allocations: 4.875 kB / 0.7844 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01109, allocations: 47.91 kB / 0.7844 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.0111, allocations: 5.094 kB / 0.7844 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.01115, allocations: 11.98 kB / 0.7844 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01116, allocations: 12 kB / 0.7844 GB, free: 11.65 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.91e-05/0.01124, allocations: 197 kB / 0.7846 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.01127, allocations: 11.98 kB / 0.7846 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.01142, allocations: 115.4 kB / 0.7847 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01142, allocations: 9.156 kB / 0.7847 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01142, allocations: 3.938 kB / 0.7847 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01143, allocations: 0 / 0.7847 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.01191, allocations: 0.6476 MB / 0.7854 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.01191, allocations: 4 kB / 0.7854 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.01197, allocations: 27.92 kB / 0.7854 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01198, allocations: 7.938 kB / 0.7854 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01199, allocations: 8.531 kB / 0.7854 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01199, allocations: 9.656 kB / 0.7854 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01199, allocations: 3.938 kB / 0.7854 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.0122, allocations: 457.1 kB / 0.7859 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.01223, allocations: 27.81 kB / 0.7859 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.01225, allocations: 15.44 kB / 0.7859 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.01233, allocations: 4 kB / 0.7859 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.01235, allocations: 23.86 kB / 0.7859 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.01236, allocations: 4 kB / 0.7859 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.973e-05/0.01239, allocations: 39.62 kB / 0.786 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01239, allocations: 0 / 0.786 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002615/0.01265, allocations: 72 kB / 0.7861 GB, free: 9.844 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.501e-05/0.01273, allocations: 95.3 kB / 0.7861 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.01292, allocations: 177.5 kB / 0.7863 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.01293, allocations: 4 kB / 0.7863 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.01297, allocations: 38.28 kB / 0.7864 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.01322, allocations: 40.03 kB / 0.7864 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.0138, allocations: 463.5 kB / 0.7868 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.831e-05/0.01385, allocations: 96.3 kB / 0.7869 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.93e-05/0.01393, allocations: 22.89 kB / 0.7869 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.01402, allocations: 75.36 kB / 0.787 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01402, allocations: 0 / 0.787 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of Templates: time 0.003504/0.01753, allocations: 2.084 MB / 0.7891 GB, free: 6.781 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.814350719563663]