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.0008703/0.0008703, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001463/0.001463, allocations: 165 kB / 24.17 MB, free: 328 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.8873/0.8873, allocations: 177.2 MB / 204.6 MB, free: 5.496 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.928/1.928, allocations: 389.6 MB / 0.6354 GB, free: 12.33 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.482e-06/1.482e-06, allocations: 0 / 0.7751 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.419e-05, allocations: 5.406 kB / 0.7751 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003191/0.003215, allocations: 2.215 MB / 0.7773 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.004876, allocations: 1.104 MB / 0.7784 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.004983, allocations: 0 / 0.7784 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004246/0.005408, allocations: 83.47 kB / 0.7785 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.005719, allocations: 170.1 kB / 0.7786 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.005941, allocations: 127.7 kB / 0.7787 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.006177, allocations: 243.2 kB / 0.779 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.006387, allocations: 143.3 kB / 0.7791 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.00659, allocations: 155.5 kB / 0.7793 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.006779, allocations: 108.4 kB / 0.7794 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.006802, allocations: 19.34 kB / 0.7794 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.006984, allocations: 131.7 kB / 0.7795 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.526e-05/0.007059, allocations: 83.73 kB / 0.7796 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.007115, allocations: 67.77 kB / 0.7797 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.007376, allocations: 227.3 kB / 0.7799 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.00738, allocations: 0 / 0.7799 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.483e-06/0.007382, allocations: 3.938 kB / 0.7799 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.007386, allocations: 0 / 0.7799 GB, free: 0.6367 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.0007837/0.008169, allocations: 379.7 kB / 0.7802 GB, free: 248 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.008203, allocations: 8.75 kB / 0.7802 GB, free: 240 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003931/0.008596, allocations: 104.7 kB / 0.7803 GB, free: 136 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.008842, allocations: 169.5 kB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.008859, allocations: 12.7 kB / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.008899, allocations: 16.38 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.009224, allocations: 245.2 kB / 0.7808 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.009238, allocations: 1.312 kB / 0.7808 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.009261, allocations: 8.375 kB / 0.7808 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/0.009304, allocations: 28.14 kB / 0.7808 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.009449, allocations: 78.17 kB / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.01048, allocations: 1.072 MB / 0.7819 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.0108, allocations: 180.3 kB / 0.7821 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.01085, allocations: 30.67 kB / 0.7821 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.34e-05/0.01094, allocations: 8.531 kB / 0.7821 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.01096, allocations: 43.14 kB / 0.7822 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.01096, allocations: 0 / 0.7822 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003542/0.01132, allocations: 107.4 kB / 0.7823 GB, free: 14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.01136, allocations: 85.05 kB / 0.7824 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.01147, allocations: 165.6 kB / 0.7825 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.01148, allocations: 30.39 kB / 0.7825 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.01155, allocations: 148.2 kB / 0.7827 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.01159, allocations: 56.52 kB / 0.7827 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.01166, allocations: 53.62 kB / 0.7828 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.01175, allocations: 328.5 kB / 0.7831 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.944e-05/0.0118, allocations: 28.84 kB / 0.7831 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.111e-05/0.01189, allocations: 98.55 kB / 0.7832 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.01205, allocations: 157.8 kB / 0.7834 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01206, allocations: 0 / 0.7834 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002157/0.01227, allocations: 151.6 kB / 0.7835 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01229, allocations: 11.28 kB / 0.7835 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.01229, allocations: 0 / 0.7835 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01231, allocations: 4 kB / 0.7835 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.01248, allocations: 49.44 kB / 0.7836 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01248, allocations: 7.938 kB / 0.7836 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.876e-05/0.01257, allocations: 8 kB / 0.7836 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.01258, allocations: 4 kB / 0.7836 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.257e-05/0.01267, allocations: 119.9 kB / 0.7837 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.468e-05/0.01274, allocations: 94.23 kB / 0.7838 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001383/0.01288, allocations: 144.6 kB / 0.7839 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.01288, allocations: 1.031 kB / 0.784 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0001825/0.01306, allocations: 140.7 kB / 0.7841 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.597e-06/0.01307, allocations: 4.719 kB / 0.7841 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01308, allocations: 9.109 kB / 0.7841 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-06/0.01308, allocations: 4 kB / 0.7841 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.01323, allocations: 47.91 kB / 0.7841 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.01323, allocations: 5.438 kB / 0.7842 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.0133, allocations: 4 kB / 0.7842 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.01332, allocations: 15.98 kB / 0.7842 GB, free: 11.89 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.475e-05/0.01341, allocations: 197.6 kB / 0.7844 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.01346, allocations: 15.94 kB / 0.7844 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.01365, allocations: 119.5 kB / 0.7845 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01366, allocations: 0 / 0.7845 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.01366, allocations: 0 / 0.7845 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01366, allocations: 0 / 0.7845 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.01431, allocations: 0.6554 MB / 0.7851 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.01431, allocations: 4 kB / 0.7851 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.354e-05/0.0144, allocations: 27.98 kB / 0.7852 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.0144, allocations: 7.938 kB / 0.7852 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.01441, allocations: 7.031 kB / 0.7852 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.01442, allocations: 7.938 kB / 0.7852 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.01442, allocations: 4 kB / 0.7852 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.01468, allocations: 450.8 kB / 0.7856 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.01473, allocations: 27.81 kB / 0.7856 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.01476, allocations: 15.98 kB / 0.7857 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.01489, allocations: 2.75 kB / 0.7857 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.01492, allocations: 23.86 kB / 0.7857 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01493, allocations: 8 kB / 0.7857 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.01497, allocations: 43.62 kB / 0.7857 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01497, allocations: 0 / 0.7857 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004166/0.01539, allocations: 72 kB / 0.7858 GB, free: 10.07 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.01552, allocations: 96.83 kB / 0.7859 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.01577, allocations: 177.7 kB / 0.7861 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.01578, allocations: 4 kB / 0.7861 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.458e-05/0.01583, allocations: 40.59 kB / 0.7861 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.01621, allocations: 33.52 kB / 0.7861 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.01697, allocations: 468.1 kB / 0.7866 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.628e-05/0.01704, allocations: 88.31 kB / 0.7867 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000101/0.01714, allocations: 28.97 kB / 0.7867 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.01725, allocations: 76.2 kB / 0.7868 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.01725, allocations: 0 / 0.7868 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of Templates: time 0.004856/0.02211, allocations: 2.082 MB / 0.7888 GB, free: 7.008 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.825273782946169]