Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.736/1.736, allocations: 288.4 MB / 303.7 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.00153, allocations: 196.4 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009635/0.0009636, allocations: 82.38 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004016, allocations: 16.66 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2135, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003334/0.2169, allocations: 3.335 MB / 0.9834 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.2188, allocations: 1.622 MB / 0.985 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.2189, allocations: 4 kB / 0.985 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.2191, allocations: 63.48 kB / 0.985 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.2196, allocations: 207.1 kB / 0.9852 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.22, allocations: 177.1 kB / 0.9854 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000367/0.2204, allocations: 0.5334 MB / 0.9859 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.2207, allocations: 314.4 kB / 0.9862 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.2208, allocations: 155.4 kB / 0.9864 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.2211, allocations: 199.2 kB / 0.9866 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.2212, allocations: 16 kB / 0.9866 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.2215, allocations: 291.4 kB / 0.9868 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.2216, allocations: 107.7 kB / 0.987 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.2218, allocations: 173 kB / 0.9871 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.2221, allocations: 383.3 kB / 0.9875 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.2222, allocations: 4 kB / 0.9875 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.608e-06/0.2222, allocations: 3.984 kB / 0.9875 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2222, allocations: 3.938 kB / 0.9875 GB, free: 19.75 MB / 0.6198 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.0008169/0.223, allocations: 0.5732 MB / 0.9881 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2231, allocations: 8.031 kB / 0.9881 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008621/0.2239, allocations: 136.4 kB / 0.9882 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.2242, allocations: 291.6 kB / 0.9885 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2243, allocations: 25.02 kB / 0.9885 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.2243, allocations: 28.36 kB / 0.9885 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.2249, allocations: 463.9 kB / 0.989 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2249, allocations: 4 kB / 0.989 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.2249, allocations: 12 kB / 0.989 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.225, allocations: 32.53 kB / 0.989 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/0.2254, allocations: 317.9 kB / 0.9893 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.227, allocations: 2.197 MB / 0.9915 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.2273, allocations: 243.8 kB / 0.9917 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.2275, allocations: 116.8 kB / 0.9918 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.2275, allocations: 0 / 0.9918 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.2276, allocations: 42.5 kB / 0.9918 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.2276, allocations: 0 / 0.9918 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005075/0.2281, allocations: 295.5 kB / 0.9921 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.2281, allocations: 59.41 kB / 0.9922 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2283, allocations: 266.5 kB / 0.9924 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2284, allocations: 29.7 kB / 0.9925 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.2284, allocations: 207.9 kB / 0.9927 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.2285, allocations: 47.3 kB / 0.9927 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.2285, allocations: 7.938 kB / 0.9927 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.2286, allocations: 338.8 kB / 0.993 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.2286, allocations: 60.38 kB / 0.9931 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.2288, allocations: 143.4 kB / 0.9932 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.2289, allocations: 214.9 kB / 0.9934 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.229, allocations: 0 / 0.9934 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000319/0.2293, allocations: 269.2 kB / 0.9937 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2293, allocations: 9.562 kB / 0.9937 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2293, allocations: 4 kB / 0.9937 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.2295, allocations: 28.78 kB / 0.9937 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.2297, allocations: 43.98 kB / 0.9938 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007097/0.2304, allocations: 1.323 MB / 0.9951 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.2305, allocations: 27.69 kB / 0.9951 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.2306, allocations: 12.09 kB / 0.9951 GB, free: 11.29 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.2307, allocations: 169.8 kB / 0.9953 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.2307, allocations: 27.66 kB / 0.9953 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.2308, allocations: 25.83 kB / 0.9953 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2308, allocations: 7.984 kB / 0.9953 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2308, allocations: 0 / 0.9953 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2308, allocations: 0 / 0.9953 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/0.2315, allocations: 0.7063 MB / 0.996 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2315, allocations: 0 / 0.996 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.2316, allocations: 31.92 kB / 0.996 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.87e-05/0.2316, allocations: 25.03 kB / 0.9961 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2317, allocations: 8 kB / 0.9961 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006351/0.2323, allocations: 1.312 MB / 0.9974 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2323, allocations: 0 / 0.9974 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.2326, allocations: 321.1 kB / 0.9977 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.2326, allocations: 108.8 kB / 0.9978 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.2327, allocations: 8 kB / 0.9978 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.2328, allocations: 11.98 kB / 0.9978 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.2329, allocations: 15.92 kB / 0.9978 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2329, allocations: 12 kB / 0.9978 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001335/0.233, allocations: 190 kB / 0.998 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.233, allocations: 3.938 kB / 0.998 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003499/0.2334, allocations: 87.62 kB / 0.9981 GB, free: 7.941 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.609e-05/0.2335, allocations: 95.25 kB / 0.9982 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.2339, allocations: 270.8 kB / 0.9984 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2339, allocations: 0 / 0.9984 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.2341, allocations: 186.5 kB / 0.9986 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.2346, allocations: 62.94 kB / 0.9987 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.2353, allocations: 0.6305 MB / 0.9993 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.2355, allocations: 0.7912 MB / 1 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.2357, allocations: 46.25 kB / 1 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.2357, allocations: 19.44 kB / 1 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2357, allocations: 0 / 1 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of Templates: time 0.004791/0.2405, allocations: 2.523 MB / 1.003 GB, free: 3.25 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)