Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.001425/0.001425, 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.001071/0.001071, allocations: 161.4 kB / 24.16 MB, free: 332 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.9151/0.9151, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.907/1.907, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7751 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.873e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.0034/0.003418, allocations: 2.967 MB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.004846, allocations: 1.235 MB / 0.7792 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.004967, allocations: 14.62 kB / 0.7792 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.005373, allocations: 111.3 kB / 0.7794 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.005625, allocations: 198.7 kB / 0.7795 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.005971, allocations: 252.6 kB / 0.7798 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00038/0.006351, allocations: 0.5294 MB / 0.7803 GB, free: 164 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.006651, allocations: 292 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.006867, allocations: 283.4 kB / 0.7808 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.007143, allocations: 216.2 kB / 0.7811 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.007179, allocations: 32.5 kB / 0.7811 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.007308, allocations: 100.4 kB / 0.7812 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.007407, allocations: 151.5 kB / 0.7813 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.927e-05/0.007496, allocations: 126.4 kB / 0.7814 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.007804, allocations: 354.8 kB / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.007807, allocations: 0 / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.72e-07/0.007808, allocations: 0 / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.007816, allocations: 0 / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0005875/0.008404, allocations: 0.5414 MB / 0.7823 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.008433, allocations: 9.344 kB / 0.7823 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.0088, allocations: 124.8 kB / 0.7824 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.009035, allocations: 229 kB / 0.7827 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.009056, allocations: 21.03 kB / 0.7827 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.00909, allocations: 36.34 kB / 0.7827 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.009438, allocations: 418.1 kB / 0.7831 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.009448, allocations: 192 / 0.7831 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.009471, allocations: 20.11 kB / 0.7831 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.009515, allocations: 40.62 kB / 0.7832 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.009646, allocations: 97.73 kB / 0.7833 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.0106, allocations: 1.165 MB / 0.7844 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.01084, allocations: 104.8 kB / 0.7845 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.01095, allocations: 62.2 kB / 0.7846 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.01096, allocations: 4 kB / 0.7846 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.01098, allocations: 34.56 kB / 0.7846 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.01098, allocations: 0 / 0.7846 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0003469/0.01133, allocations: 168.8 kB / 0.7848 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.01135, allocations: 51.41 kB / 0.7848 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.01147, allocations: 228.8 kB / 0.785 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.01148, allocations: 33.7 kB / 0.7851 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.01156, allocations: 208.1 kB / 0.7853 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.01159, allocations: 75.92 kB / 0.7853 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.01165, allocations: 49.92 kB / 0.7854 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.01172, allocations: 339.8 kB / 0.7857 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/0.01176, allocations: 25.98 kB / 0.7857 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.933e-05/0.01186, allocations: 161.9 kB / 0.7859 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.012, allocations: 181.5 kB / 0.7861 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01201, allocations: 4 kB / 0.7861 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002691/0.01228, allocations: 205.5 kB / 0.7863 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01229, allocations: 4 kB / 0.7863 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.0123, allocations: 7.984 kB / 0.7863 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.0125, allocations: 60.16 kB / 0.7863 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.01263, allocations: 59.91 kB / 0.7864 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007917/0.01342, allocations: 1.214 MB / 0.7876 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.01353, allocations: 42.45 kB / 0.7876 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.01354, allocations: 8 kB / 0.7876 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.948e-05/0.01362, allocations: 119.5 kB / 0.7877 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.367e-05/0.01372, allocations: 170.1 kB / 0.7879 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001347/0.01385, allocations: 180 kB / 0.7881 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.01385, allocations: 0 / 0.7881 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002021/0.01405, allocations: 191.5 kB / 0.7882 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.413e-06/0.01406, allocations: 8 kB / 0.7883 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01407, allocations: 4 kB / 0.7883 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.605e-05/0.01415, allocations: 39.2 kB / 0.7883 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.01427, allocations: 59.91 kB / 0.7883 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005522/0.01482, allocations: 1.202 MB / 0.7895 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.01492, allocations: 23.89 kB / 0.7895 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.01493, allocations: 16.73 kB / 0.7896 GB, free: 6.074 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/0.01501, allocations: 196.7 kB / 0.7897 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.01504, allocations: 21.55 kB / 0.7898 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.01507, allocations: 34.11 kB / 0.7898 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01508, allocations: 3.984 kB / 0.7898 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.01508, allocations: 0 / 0.7898 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01508, allocations: 0 / 0.7898 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.0155, allocations: 469.5 kB / 0.7903 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.0155, allocations: 5.469 kB / 0.7903 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.01558, allocations: 31.98 kB / 0.7903 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-05/0.01568, allocations: 34.73 kB / 0.7903 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.01568, allocations: 1.188 kB / 0.7903 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004792/0.01616, allocations: 1.203 MB / 0.7915 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01617, allocations: 5.906 kB / 0.7915 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.01632, allocations: 225.8 kB / 0.7917 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.01636, allocations: 19.86 kB / 0.7917 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.01638, allocations: 15.92 kB / 0.7918 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.01645, allocations: 8.844 kB / 0.7918 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.01649, allocations: 19.97 kB / 0.7918 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.0165, allocations: 5.531 kB / 0.7918 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.01655, allocations: 70.78 kB / 0.7919 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01655, allocations: 0 / 0.7919 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003187/0.01687, allocations: 155.6 kB / 0.792 GB, free: 3.41 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002215/0.01709, allocations: 85.34 kB / 0.7921 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.01748, allocations: 430.9 kB / 0.7925 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.01749, allocations: 4 kB / 0.7925 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.01759, allocations: 166.6 kB / 0.7927 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.01784, allocations: 68.33 kB / 0.7927 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.01859, allocations: 0.5423 MB / 0.7933 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.967e-05/0.01866, allocations: 125.2 kB / 0.7934 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.01876, allocations: 37.56 kB / 0.7934 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.01889, allocations: 108.3 kB / 0.7935 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.01889, allocations: 0 / 0.7935 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.005726/0.02461, allocations: 3.928 MB / 0.7973 GB, free: 13.98 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.851687585003674]