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.001055/0.001055, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00113/0.00113, allocations: 161 kB / 24.16 MB, free: 336 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.9559/0.9559, allocations: 177.2 MB / 204.6 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.998/1.998, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.182e-06/1.182e-06, allocations: 0.9844 kB / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.055e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002934/0.002955, allocations: 2.261 MB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.004478, allocations: 1.099 MB / 0.7785 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.004583, allocations: 7.938 kB / 0.7785 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.00498, allocations: 79.53 kB / 0.7786 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.005327, allocations: 162.4 kB / 0.7787 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.005584, allocations: 131.6 kB / 0.7788 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.00584, allocations: 239.2 kB / 0.7791 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.006054, allocations: 140 kB / 0.7792 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.006262, allocations: 159.5 kB / 0.7794 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.006459, allocations: 104.4 kB / 0.7795 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.006483, allocations: 16.53 kB / 0.7795 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.006688, allocations: 139.7 kB / 0.7796 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.006757, allocations: 80.42 kB / 0.7797 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.28e-05/0.00682, allocations: 72.59 kB / 0.7797 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.007214, allocations: 227.2 kB / 0.78 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.007217, allocations: 0.5 kB / 0.78 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.92e-07/0.007218, allocations: 4 kB / 0.78 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.007224, allocations: 1.031 kB / 0.78 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.0004412/0.007665, allocations: 376.3 kB / 0.7803 GB, free: 140 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.007697, allocations: 13.69 kB / 0.7803 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.008098, allocations: 104.7 kB / 0.7804 GB, free: 24 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.008297, allocations: 161.2 kB / 0.7806 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.008312, allocations: 12.69 kB / 0.7806 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.00834, allocations: 16.91 kB / 0.7806 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.008576, allocations: 254.3 kB / 0.7809 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.008589, allocations: 4.172 kB / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.008605, allocations: 8.375 kB / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.008638, allocations: 25.55 kB / 0.7809 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.008745, allocations: 77.17 kB / 0.781 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.009534, allocations: 1.073 MB / 0.782 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.009777, allocations: 176.5 kB / 0.7822 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.009818, allocations: 37.69 kB / 0.7822 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.146e-05/0.00988, allocations: 9.312 kB / 0.7822 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.009899, allocations: 30.56 kB / 0.7823 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.009901, allocations: 1.594 kB / 0.7823 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003/0.0102, allocations: 117.6 kB / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.01023, allocations: 81.05 kB / 0.7825 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.01031, allocations: 166.7 kB / 0.7826 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.01032, allocations: 29.64 kB / 0.7826 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.01038, allocations: 160.2 kB / 0.7828 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.01041, allocations: 47.53 kB / 0.7828 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.01046, allocations: 54.27 kB / 0.7829 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.01054, allocations: 330.8 kB / 0.7832 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.698e-05/0.01058, allocations: 25.98 kB / 0.7832 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.718e-05/0.01065, allocations: 94.28 kB / 0.7833 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.01077, allocations: 156 kB / 0.7835 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01077, allocations: 0 / 0.7835 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001629/0.01094, allocations: 151.6 kB / 0.7836 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.01095, allocations: 4 kB / 0.7836 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.01095, allocations: 5.312 kB / 0.7836 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.01097, allocations: 4 kB / 0.7836 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.0111, allocations: 51.91 kB / 0.7837 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.01111, allocations: 8.969 kB / 0.7837 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.01117, allocations: 4 kB / 0.7837 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.01119, allocations: 12 kB / 0.7837 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.792e-05/0.01126, allocations: 116.2 kB / 0.7838 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.179e-05/0.01132, allocations: 98.28 kB / 0.7839 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001045/0.01142, allocations: 143.3 kB / 0.784 GB, free: 12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.01142, allocations: 11.86 kB / 0.7841 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0001369/0.01156, allocations: 132.1 kB / 0.7842 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/0.01157, allocations: 4 kB / 0.7842 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.01157, allocations: 11.16 kB / 0.7842 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-06/0.01157, allocations: 4 kB / 0.7842 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01169, allocations: 43.97 kB / 0.7842 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01169, allocations: 11.92 kB / 0.7843 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.01175, allocations: 8 kB / 0.7843 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.01176, allocations: 8 kB / 0.7843 GB, free: 11.77 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 8.911e-05/0.01185, allocations: 196.1 kB / 0.7845 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.01188, allocations: 15.02 kB / 0.7845 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.01204, allocations: 114 kB / 0.7846 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01204, allocations: 0 / 0.7846 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.01204, allocations: 4 kB / 0.7846 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.01204, allocations: 0 / 0.7846 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.01256, allocations: 0.6545 MB / 0.7852 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01256, allocations: 0 / 0.7852 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.01263, allocations: 28.03 kB / 0.7852 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.01264, allocations: 12.42 kB / 0.7853 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01265, allocations: 8.656 kB / 0.7853 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.01265, allocations: 7.938 kB / 0.7853 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01266, allocations: 9.422 kB / 0.7853 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.01289, allocations: 453.2 kB / 0.7857 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.01293, allocations: 27.83 kB / 0.7857 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.01295, allocations: 8 kB / 0.7858 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.01304, allocations: 4 kB / 0.7858 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.01307, allocations: 23.86 kB / 0.7858 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.01307, allocations: 4 kB / 0.7858 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.01311, allocations: 43.62 kB / 0.7858 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01311, allocations: 2.812 kB / 0.7858 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000306/0.01342, allocations: 72 kB / 0.7859 GB, free: 9.965 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.000124/0.01354, allocations: 96.28 kB / 0.786 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.01377, allocations: 180.9 kB / 0.7862 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.01378, allocations: 0 / 0.7862 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.531e-05/0.01382, allocations: 43.94 kB / 0.7862 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.01412, allocations: 29.58 kB / 0.7862 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.01475, allocations: 471.9 kB / 0.7867 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.01481, allocations: 88.31 kB / 0.7868 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.418e-05/0.01489, allocations: 21.89 kB / 0.7868 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.836e-05/0.01498, allocations: 76.52 kB / 0.7869 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01498, allocations: 3.938 kB / 0.7869 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of Templates: time 0.003546/0.01853, allocations: 2.081 MB / 0.7889 GB, free: 6.902 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.836174901109189]