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.0009413/0.0009413, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.001313/0.001313, allocations: 171.9 kB / 25.05 MB, free: 9.211 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.9378/0.9378, allocations: 177.1 MB / 205.5 MB, free: 5.473 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.86/1.86, allocations: 389.6 MB / 0.6363 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 2.024e-06/2.024e-06, allocations: 0 / 0.7761 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.143e-05, allocations: 3.062 kB / 0.7761 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004043/0.004065, allocations: 2.272 MB / 0.7783 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.006246, allocations: 1.095 MB / 0.7794 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.006356, allocations: 7.406 kB / 0.7794 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005325/0.006888, allocations: 87.52 kB / 0.7795 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.007272, allocations: 155.1 kB / 0.7796 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.007595, allocations: 128.2 kB / 0.7798 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.007918, allocations: 251.1 kB / 0.78 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.008203, allocations: 141.1 kB / 0.7801 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.008478, allocations: 155.6 kB / 0.7803 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.008724, allocations: 103.7 kB / 0.7804 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.008759, allocations: 16 kB / 0.7804 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.009024, allocations: 140.4 kB / 0.7805 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.009117, allocations: 79.8 kB / 0.7806 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.88e-05/0.009196, allocations: 64.41 kB / 0.7807 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.009574, allocations: 242.9 kB / 0.7809 GB, free: 496 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.009577, allocations: 4 kB / 0.7809 GB, free: 492 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.244e-06/0.00958, allocations: 0 / 0.7809 GB, free: 492 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.009584, allocations: 0 / 0.7809 GB, free: 492 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.0006282/0.01021, allocations: 380.3 kB / 0.7813 GB, free: 84 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.01026, allocations: 8.75 kB / 0.7813 GB, free: 76 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000604/0.01086, allocations: 100.8 kB / 0.7814 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.01111, allocations: 161.4 kB / 0.7815 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.01113, allocations: 15.67 kB / 0.7815 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.01118, allocations: 16.36 kB / 0.7816 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.01154, allocations: 241.2 kB / 0.7818 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.01156, allocations: 4.188 kB / 0.7818 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.01159, allocations: 8.359 kB / 0.7818 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.01163, allocations: 24.2 kB / 0.7818 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.0118, allocations: 77.52 kB / 0.7819 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.01297, allocations: 1.069 MB / 0.7829 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.01336, allocations: 187.8 kB / 0.7831 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.52e-05/0.01343, allocations: 30.22 kB / 0.7832 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.567e-05/0.01353, allocations: 13.45 kB / 0.7832 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.01355, allocations: 30.56 kB / 0.7832 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.01355, allocations: 0.5 kB / 0.7832 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0004063/0.01396, allocations: 122.6 kB / 0.7833 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.01401, allocations: 77.11 kB / 0.7834 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.01412, allocations: 167.1 kB / 0.7835 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.01415, allocations: 25.7 kB / 0.7836 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.01423, allocations: 160.1 kB / 0.7837 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.01427, allocations: 51.8 kB / 0.7838 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/0.01434, allocations: 37.69 kB / 0.7838 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.01444, allocations: 339.4 kB / 0.7841 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.0145, allocations: 30.38 kB / 0.7842 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-05/0.0146, allocations: 94.3 kB / 0.7843 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.01478, allocations: 151 kB / 0.7844 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.01479, allocations: 0 / 0.7844 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000239/0.01503, allocations: 148 kB / 0.7845 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.01504, allocations: 4 kB / 0.7845 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.01505, allocations: 5 kB / 0.7845 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.01507, allocations: 4 kB / 0.7845 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.01528, allocations: 52.84 kB / 0.7846 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.01529, allocations: 7.938 kB / 0.7846 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01541, allocations: 11.89 kB / 0.7846 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.01543, allocations: 16.92 kB / 0.7846 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.432e-05/0.01552, allocations: 114.8 kB / 0.7847 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.676e-05/0.01562, allocations: 99.16 kB / 0.7848 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001611/0.01578, allocations: 142.5 kB / 0.785 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.01578, allocations: 0.6875 kB / 0.785 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002112/0.01599, allocations: 140.2 kB / 0.7851 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01601, allocations: 4 kB / 0.7851 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.01601, allocations: 4 kB / 0.7851 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.01602, allocations: 9.25 kB / 0.7851 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.01622, allocations: 43.97 kB / 0.7852 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01623, allocations: 11.88 kB / 0.7852 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.796e-05/0.01633, allocations: 9.719 kB / 0.7852 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.01634, allocations: 8 kB / 0.7852 GB, free: 11.73 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 9.594e-05/0.01644, allocations: 200.1 kB / 0.7854 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.01649, allocations: 11.98 kB / 0.7854 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.01671, allocations: 116.3 kB / 0.7855 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.01671, allocations: 4 kB / 0.7855 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01672, allocations: 0 / 0.7855 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01672, allocations: 1.469 kB / 0.7855 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.01746, allocations: 0.654 MB / 0.7862 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.01747, allocations: 4 kB / 0.7862 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.01758, allocations: 23.98 kB / 0.7862 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.01758, allocations: 7.938 kB / 0.7862 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.0176, allocations: 10.75 kB / 0.7862 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.01761, allocations: 7.938 kB / 0.7862 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.01761, allocations: 4 kB / 0.7862 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.01788, allocations: 446.8 kB / 0.7866 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.01794, allocations: 31.77 kB / 0.7867 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.01797, allocations: 9.062 kB / 0.7867 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.01813, allocations: 4 kB / 0.7867 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.01816, allocations: 27.84 kB / 0.7867 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.01818, allocations: 12.88 kB / 0.7867 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.811e-05/0.01823, allocations: 35.64 kB / 0.7867 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01823, allocations: 0.9375 kB / 0.7868 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004492/0.01868, allocations: 75.98 kB / 0.7868 GB, free: 9.922 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.0001301/0.01881, allocations: 93.7 kB / 0.7869 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.01904, allocations: 182 kB / 0.7871 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.01905, allocations: 0 / 0.7871 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.01909, allocations: 44.66 kB / 0.7871 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.01935, allocations: 37.56 kB / 0.7872 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.01996, allocations: 459.8 kB / 0.7876 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.02002, allocations: 88.31 kB / 0.7877 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.402e-05/0.0201, allocations: 33.7 kB / 0.7877 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.02018, allocations: 71.38 kB / 0.7878 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.02018, allocations: 5.031 kB / 0.7878 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of Templates: time 0.003449/0.02363, allocations: 2.08 MB / 0.7898 GB, free: 6.859 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.759006347507238]