Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.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.0009295/0.0009295, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.001047/0.001047, allocations: 165 kB / 24.25 MB, free: 208 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 1.012/1.012, allocations: 177.2 MB / 204.7 MB, free: 5.441 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.913/1.913, allocations: 389.6 MB / 0.6355 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.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0.6562 kB / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.674e-05, allocations: 3.469 kB / 0.7753 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004725/0.004751, allocations: 3 MB / 0.7783 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.006853, allocations: 1.145 MB / 0.7794 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.007034, allocations: 7.938 kB / 0.7794 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.007567, allocations: 129.1 kB / 0.7795 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.007973, allocations: 193.5 kB / 0.7797 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.008263, allocations: 151.7 kB / 0.7799 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.008638, allocations: 494.2 kB / 0.7803 GB, free: 216 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.009043, allocations: 299.3 kB / 0.7806 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.009336, allocations: 271.4 kB / 0.7809 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.00969, allocations: 187.5 kB / 0.7811 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.009738, allocations: 32 kB / 0.7811 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.009965, allocations: 95.78 kB / 0.7812 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.01009, allocations: 135.6 kB / 0.7813 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.01021, allocations: 123.7 kB / 0.7814 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.01064, allocations: 330.8 kB / 0.7817 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01064, allocations: 1.312 kB / 0.7817 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01064, allocations: 0 / 0.7817 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.01065, allocations: 0 / 0.7817 GB, free: 14.77 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.000743/0.01139, allocations: 0.5169 MB / 0.7822 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.01143, allocations: 14.69 kB / 0.7823 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007476/0.01218, allocations: 169.3 kB / 0.7824 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.01249, allocations: 223.4 kB / 0.7826 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.01252, allocations: 25.02 kB / 0.7827 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.01256, allocations: 28.88 kB / 0.7827 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.01301, allocations: 436 kB / 0.7831 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.01302, allocations: 192 / 0.7831 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.01305, allocations: 12.38 kB / 0.7831 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-05/0.0131, allocations: 33.11 kB / 0.7831 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.01328, allocations: 102.4 kB / 0.7832 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.01462, allocations: 1.324 MB / 0.7845 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.01483, allocations: 94.05 kB / 0.7846 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.01495, allocations: 57.36 kB / 0.7847 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.01496, allocations: 1.781 kB / 0.7847 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.01498, allocations: 38.55 kB / 0.7847 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 2.525e-06/0.01499, allocations: 0 / 0.7847 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003372/0.01532, allocations: 134.6 kB / 0.7848 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.01536, allocations: 59.39 kB / 0.7849 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.01552, allocations: 211.3 kB / 0.7851 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.01553, allocations: 30.77 kB / 0.7851 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.01564, allocations: 208.1 kB / 0.7853 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.01567, allocations: 51.58 kB / 0.7854 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.01574, allocations: 47.02 kB / 0.7854 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.01583, allocations: 326.8 kB / 0.7857 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.01587, allocations: 20.45 kB / 0.7858 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.909e-05/0.01596, allocations: 110.2 kB / 0.7859 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.01611, allocations: 141.2 kB / 0.786 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01611, allocations: 5.312 kB / 0.786 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002456/0.01636, allocations: 171 kB / 0.7862 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01638, allocations: 8.969 kB / 0.7862 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01638, allocations: 4 kB / 0.7862 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.01656, allocations: 43.67 kB / 0.7862 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.01672, allocations: 47.92 kB / 0.7863 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007523/0.01748, allocations: 1.194 MB / 0.7874 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.01759, allocations: 19.83 kB / 0.7874 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.0176, allocations: 11.94 kB / 0.7875 GB, free: 8.512 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.0177, allocations: 131.4 kB / 0.7876 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.01774, allocations: 15.98 kB / 0.7876 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.01778, allocations: 25.45 kB / 0.7876 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.01778, allocations: 4 kB / 0.7876 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01778, allocations: 0 / 0.7876 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01779, allocations: 0 / 0.7876 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.01837, allocations: 0.5742 MB / 0.7882 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01837, allocations: 3.188 kB / 0.7882 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.01845, allocations: 27.92 kB / 0.7882 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.01856, allocations: 32.83 kB / 0.7882 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.01857, allocations: 4 kB / 0.7883 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006794/0.01925, allocations: 1.206 MB / 0.7894 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01925, allocations: 0 / 0.7894 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.01946, allocations: 294 kB / 0.7897 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.01952, allocations: 31.78 kB / 0.7897 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.01954, allocations: 4 kB / 0.7897 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.01966, allocations: 13.27 kB / 0.7898 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.01968, allocations: 23.86 kB / 0.7898 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.01969, allocations: 4 kB / 0.7898 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.628e-05/0.01976, allocations: 68.22 kB / 0.7898 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01976, allocations: 0 / 0.7898 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003239/0.02008, allocations: 80.41 kB / 0.7899 GB, free: 5.789 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 13 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001081/0.02019, allocations: 82.27 kB / 0.79 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.02048, allocations: 214.4 kB / 0.7902 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.02049, allocations: 4 kB / 0.7902 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.02062, allocations: 162.3 kB / 0.7904 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.02094, allocations: 54.41 kB / 0.7904 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009743/0.02192, allocations: 0.5456 MB / 0.791 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.345e-05/0.022, allocations: 109.4 kB / 0.7911 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.266e-05/0.0221, allocations: 21.7 kB / 0.7911 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.02223, allocations: 95.28 kB / 0.7912 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.02223, allocations: 1 kB / 0.7912 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of Templates: time 0.005939/0.02817, allocations: 2.648 MB / 0.7938 GB, free: 1.922 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0013253362849355]