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.0007422/0.0007422, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.001431/0.001431, allocations: 165.5 kB / 24.96 MB, free: 7.719 MB / 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.9366/0.9366, allocations: 177.1 MB / 205.4 MB, free: 5.488 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.821/1.821, allocations: 389.6 MB / 0.6362 GB, free: 12.31 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.292e-06/1.292e-06, allocations: 0 / 0.776 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.113e-05, allocations: 2.312 kB / 0.776 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002895/0.002916, allocations: 2.276 MB / 0.7782 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.004253, allocations: 1.091 MB / 0.7792 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.004337, allocations: 7.938 kB / 0.7793 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.004665, allocations: 82.98 kB / 0.7793 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.004894, allocations: 159.1 kB / 0.7795 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.005068, allocations: 127.6 kB / 0.7796 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.005273, allocations: 251.1 kB / 0.7798 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.00545, allocations: 142 kB / 0.78 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.005604, allocations: 143.6 kB / 0.7801 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.005758, allocations: 107.7 kB / 0.7802 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.005777, allocations: 16 kB / 0.7802 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.005937, allocations: 147.6 kB / 0.7804 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.005996, allocations: 75.81 kB / 0.7805 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.006043, allocations: 65.33 kB / 0.7805 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.006266, allocations: 235.2 kB / 0.7807 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.006267, allocations: 0 / 0.7807 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.733e-06/0.006269, allocations: 3.984 kB / 0.7807 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.006272, allocations: 1.156 kB / 0.7807 GB, free: 0.5312 MB / 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.0003213/0.006594, allocations: 376.3 kB / 0.7811 GB, free: 140 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.182e-05/0.006616, allocations: 9.75 kB / 0.7811 GB, free: 132 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.006936, allocations: 100.7 kB / 0.7812 GB, free: 32 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.007138, allocations: 170 kB / 0.7814 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.007152, allocations: 17.22 kB / 0.7814 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.007178, allocations: 17.31 kB / 0.7814 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.007403, allocations: 241.2 kB / 0.7816 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.007414, allocations: 192 / 0.7816 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.00743, allocations: 9.25 kB / 0.7816 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.007462, allocations: 24.2 kB / 0.7817 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.413e-05/0.007556, allocations: 78.11 kB / 0.7817 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007202/0.008276, allocations: 1.08 MB / 0.7828 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.008493, allocations: 173.6 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.008528, allocations: 33.69 kB / 0.783 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.307e-05/0.008592, allocations: 11.98 kB / 0.783 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.008612, allocations: 43.56 kB / 0.783 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.008614, allocations: 0 / 0.783 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002804/0.008894, allocations: 110 kB / 0.7831 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.008924, allocations: 86.22 kB / 0.7832 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.009011, allocations: 160.3 kB / 0.7834 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.009025, allocations: 29.7 kB / 0.7834 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.009082, allocations: 153 kB / 0.7836 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.009108, allocations: 51.53 kB / 0.7836 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.009159, allocations: 58.44 kB / 0.7837 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.998e-05/0.009229, allocations: 322.8 kB / 0.784 GB, free: 13 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.628e-05/0.009265, allocations: 33.62 kB / 0.784 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.009325, allocations: 94.23 kB / 0.7841 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.009438, allocations: 151.6 kB / 0.7842 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.00944, allocations: 0.5 kB / 0.7842 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001406/0.00958, allocations: 144.2 kB / 0.7844 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.009593, allocations: 8 kB / 0.7844 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.009597, allocations: 0 / 0.7844 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.00961, allocations: 4.844 kB / 0.7844 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.009735, allocations: 51.91 kB / 0.7844 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.00974, allocations: 4.5 kB / 0.7844 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.009796, allocations: 8.812 kB / 0.7844 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.009809, allocations: 11.98 kB / 0.7845 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.094e-05/0.00987, allocations: 122.8 kB / 0.7846 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003055/0.01018, allocations: 95.27 kB / 0.7847 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.655e-05/0.01027, allocations: 142.9 kB / 0.7848 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.01027, allocations: 1.625 kB / 0.7848 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0001275/0.0104, allocations: 143.4 kB / 0.7849 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.01041, allocations: 8 kB / 0.785 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.01041, allocations: 4 kB / 0.785 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-06/0.01041, allocations: 0.5312 kB / 0.785 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01052, allocations: 55.84 kB / 0.785 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.01052, allocations: 4.938 kB / 0.785 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.01057, allocations: 4 kB / 0.785 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.01058, allocations: 12.94 kB / 0.785 GB, free: 11.78 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 6.77e-05/0.01065, allocations: 196.1 kB / 0.7852 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.01068, allocations: 17.92 kB / 0.7852 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.01084, allocations: 110 kB / 0.7853 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.01084, allocations: 6.75 kB / 0.7853 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.01084, allocations: 3.984 kB / 0.7853 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01084, allocations: 0 / 0.7853 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.01131, allocations: 0.6448 MB / 0.786 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.01131, allocations: 4.938 kB / 0.786 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.01137, allocations: 31.92 kB / 0.786 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.01138, allocations: 7.938 kB / 0.786 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.01139, allocations: 8.844 kB / 0.786 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.01139, allocations: 4 kB / 0.786 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01139, allocations: 5.719 kB / 0.786 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.01157, allocations: 450.8 kB / 0.7865 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.0116, allocations: 24.33 kB / 0.7865 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.01162, allocations: 12 kB / 0.7865 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-05/0.01169, allocations: 7.094 kB / 0.7865 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.01172, allocations: 31.78 kB / 0.7865 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.01173, allocations: 4 kB / 0.7865 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.01176, allocations: 39.64 kB / 0.7866 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01176, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002513/0.01201, allocations: 72 kB / 0.7867 GB, free: 9.977 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 0.0001107/0.01212, allocations: 98.77 kB / 0.7867 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.01231, allocations: 175 kB / 0.7869 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01231, allocations: 4.875 kB / 0.7869 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.01235, allocations: 38.66 kB / 0.787 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.01262, allocations: 42.25 kB / 0.787 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.0132, allocations: 469.6 kB / 0.7874 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.732e-05/0.01326, allocations: 85 kB / 0.7875 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.05e-05/0.01334, allocations: 34.25 kB / 0.7876 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.01342, allocations: 72.31 kB / 0.7876 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of SimCode: time 6.42e-07/0.01342, allocations: 0 / 0.7876 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of Templates: time 0.003637/0.01705, allocations: 2.08 MB / 0.7897 GB, free: 6.91 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.640614147298038]