Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000973/0.000973, allocations: 175.4 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00081/0.0008099, allocations: 79.77 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 11.8 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1982, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003402/0.2017, allocations: 3.485 MB / 0.9049 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.2037, allocations: 1.707 MB / 0.9065 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.2038, allocations: 7.938 kB / 0.9065 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.204, allocations: 59.55 kB / 0.9066 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.2044, allocations: 211.1 kB / 0.9068 GB, free: 58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.2048, allocations: 191.6 kB / 0.907 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.2053, allocations: 0.6621 MB / 0.9076 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.2056, allocations: 318.3 kB / 0.9079 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2058, allocations: 147.4 kB / 0.9081 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.2061, allocations: 211.1 kB / 0.9083 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.2061, allocations: 16 kB / 0.9083 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.2065, allocations: 299.4 kB / 0.9086 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.2066, allocations: 123.6 kB / 0.9087 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.2067, allocations: 176.8 kB / 0.9088 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.207, allocations: 387.3 kB / 0.9092 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.207, allocations: 0 / 0.9092 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.363e-06/0.207, allocations: 0 / 0.9092 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2071, allocations: 0 / 0.9092 GB, free: 55.48 MB / 0.6042 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.0007297/0.2078, allocations: 0.5732 MB / 0.9098 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2078, allocations: 11.97 kB / 0.9098 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008184/0.2087, allocations: 140.3 kB / 0.9099 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.209, allocations: 287.6 kB / 0.9102 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.209, allocations: 25.03 kB / 0.9102 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.209, allocations: 24.38 kB / 0.9102 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.2096, allocations: 467.8 kB / 0.9107 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.2096, allocations: 4 kB / 0.9107 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.2096, allocations: 12 kB / 0.9107 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.2097, allocations: 28.55 kB / 0.9107 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003917/0.2101, allocations: 321.9 kB / 0.911 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.2117, allocations: 2.197 MB / 0.9132 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.212, allocations: 255.8 kB / 0.9134 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.2122, allocations: 116.8 kB / 0.9135 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.2122, allocations: 0 / 0.9135 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.2123, allocations: 38.5 kB / 0.9136 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 8.82e-07/0.2123, allocations: 0 / 0.9136 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005039/0.2128, allocations: 294.4 kB / 0.9139 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.2128, allocations: 55.41 kB / 0.9139 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.213, allocations: 270.5 kB / 0.9142 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.213, allocations: 25.7 kB / 0.9142 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.2131, allocations: 211.7 kB / 0.9144 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.2132, allocations: 47.36 kB / 0.9144 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.2132, allocations: 8 kB / 0.9144 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.251e-05/0.2132, allocations: 330.8 kB / 0.9148 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.2133, allocations: 60.38 kB / 0.9148 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2134, allocations: 149 kB / 0.915 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.2136, allocations: 224.7 kB / 0.9152 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2137, allocations: 96 / 0.9152 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003217/0.214, allocations: 268.8 kB / 0.9154 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.214, allocations: 4 kB / 0.9154 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.214, allocations: 8 kB / 0.9154 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.2142, allocations: 32.78 kB / 0.9155 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.2144, allocations: 52.34 kB / 0.9155 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006952/0.2151, allocations: 1.319 MB / 0.9168 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.2152, allocations: 35.83 kB / 0.9168 GB, free: 47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2152, allocations: 8 kB / 0.9169 GB, free: 46.99 MB / 0.6042 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.0001241/0.2154, allocations: 165.7 kB / 0.917 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.2154, allocations: 31.64 kB / 0.917 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.2155, allocations: 29.84 kB / 0.9171 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2155, allocations: 0 / 0.9171 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2155, allocations: 0 / 0.9171 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2155, allocations: 3.984 kB / 0.9171 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.2162, allocations: 0.6986 MB / 0.9178 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2162, allocations: 192 / 0.9178 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.883e-05/0.2163, allocations: 31.92 kB / 0.9178 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.041e-05/0.2164, allocations: 24.84 kB / 0.9178 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2164, allocations: 0 / 0.9178 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006114/0.217, allocations: 1.323 MB / 0.9191 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.217, allocations: 4 kB / 0.9191 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.2173, allocations: 313.2 kB / 0.9194 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.2173, allocations: 112.8 kB / 0.9195 GB, free: 43.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.2174, allocations: 7.984 kB / 0.9195 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.2175, allocations: 12 kB / 0.9195 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.2176, allocations: 19.92 kB / 0.9196 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.2176, allocations: 4 kB / 0.9196 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001463/0.2177, allocations: 190 kB / 0.9197 GB, free: 43.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2177, allocations: 0 / 0.9197 GB, free: 43.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003384/0.2181, allocations: 83.69 kB / 0.9198 GB, free: 43.66 MB / 0.6042 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 9.721e-05/0.2182, allocations: 107.2 kB / 0.9199 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.2186, allocations: 270.4 kB / 0.9202 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2186, allocations: 0 / 0.9202 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.2187, allocations: 191.5 kB / 0.9204 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.2192, allocations: 63 kB / 0.9204 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/0.22, allocations: 0.7101 MB / 0.9211 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2202, allocations: 0.7833 MB / 0.9219 GB, free: 41.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.2202, allocations: 27.42 kB / 0.9219 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2202, allocations: 4 kB / 0.9219 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.004826/0.2251, allocations: 4.346 MB / 0.9262 GB, free: 37.07 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)