Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 111 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 189.4 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 68.12 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2923, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005344/0.2977, allocations: 3.075 MB / 0.7878 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3483/0.646, allocations: 1.318 MB / 0.7891 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.6462, allocations: 6.844 kB / 0.7891 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008738/0.6472, allocations: 331.6 kB / 0.7894 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.6475, allocations: 142.2 kB / 0.7895 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.6478, allocations: 132.6 kB / 0.7897 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.6481, allocations: 311 kB / 0.79 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.6485, allocations: 232.4 kB / 0.7902 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.6486, allocations: 123 kB / 0.7903 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.6489, allocations: 142.2 kB / 0.7904 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.6489, allocations: 17.5 kB / 0.7905 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.6492, allocations: 170.4 kB / 0.7906 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.6493, allocations: 82.3 kB / 0.7907 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.6494, allocations: 105.8 kB / 0.7908 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.6497, allocations: 339.6 kB / 0.7911 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6497, allocations: 2.625 kB / 0.7911 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6497, allocations: 3.328 kB / 0.7911 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.6497, allocations: 0 / 0.7911 GB, free: 46.56 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000652/0.6504, allocations: 0.5117 MB / 0.7916 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.6504, allocations: 11.19 kB / 0.7916 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005395/0.651, allocations: 81.91 kB / 0.7917 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.6512, allocations: 244.3 kB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.6512, allocations: 21.27 kB / 0.792 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.6513, allocations: 14.94 kB / 0.792 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.6517, allocations: 303.8 kB / 0.7923 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6517, allocations: 5.062 kB / 0.7923 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.6517, allocations: 12.3 kB / 0.7923 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.6517, allocations: 17.25 kB / 0.7923 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.652, allocations: 191.8 kB / 0.7925 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.6531, allocations: 1.461 MB / 0.7939 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.6533, allocations: 177.2 kB / 0.7941 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.6534, allocations: 34.05 kB / 0.7941 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.6534, allocations: 3.375 kB / 0.7941 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.6534, allocations: 34.84 kB / 0.7941 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.6534, allocations: 0.5312 kB / 0.7942 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004124/0.6538, allocations: 225 kB / 0.7944 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/0.6539, allocations: 54.91 kB / 0.7944 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.654, allocations: 194 kB / 0.7946 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.654, allocations: 29.52 kB / 0.7946 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.6541, allocations: 164.1 kB / 0.7948 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.6541, allocations: 29.95 kB / 0.7948 GB, free: 44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.6542, allocations: 35.39 kB / 0.7948 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.6542, allocations: 333 kB / 0.7952 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.513e-05/0.6543, allocations: 36.19 kB / 0.7952 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.79e-05/0.6544, allocations: 99.38 kB / 0.7953 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.6545, allocations: 157 kB / 0.7954 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6545, allocations: 0 / 0.7954 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002446/0.6548, allocations: 188.8 kB / 0.7956 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6548, allocations: 13.16 kB / 0.7956 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.6548, allocations: 3.438 kB / 0.7956 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.6549, allocations: 21.39 kB / 0.7957 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.655, allocations: 33.8 kB / 0.7957 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007373/0.6558, allocations: 1.411 MB / 0.7971 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.6559, allocations: 24.2 kB / 0.7971 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.6559, allocations: 7.5 kB / 0.7971 GB, free: 42.08 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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 9.526e-05/0.656, allocations: 152.7 kB / 0.7972 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.6561, allocations: 14.53 kB / 0.7973 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.6561, allocations: 19.03 kB / 0.7973 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6561, allocations: 0 / 0.7973 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6561, allocations: 5.188 kB / 0.7973 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.6561, allocations: 0 / 0.7973 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.6566, allocations: 449.6 kB / 0.7977 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6566, allocations: 0 / 0.7977 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.6566, allocations: 10.84 kB / 0.7977 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.415e-05/0.6567, allocations: 24.55 kB / 0.7977 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.6567, allocations: 2.812 kB / 0.7978 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006214/0.6573, allocations: 1.414 MB / 0.7991 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6573, allocations: 1.922 kB / 0.7991 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.6575, allocations: 210.3 kB / 0.7993 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.6576, allocations: 106.4 kB / 0.7994 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.6576, allocations: 3.469 kB / 0.7994 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.6577, allocations: 0.8906 kB / 0.7994 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.6577, allocations: 12.44 kB / 0.7995 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.6577, allocations: 3.5 kB / 0.7995 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.688e-05/0.6578, allocations: 142.9 kB / 0.7996 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6578, allocations: 0 / 0.7996 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003221/0.6582, allocations: 52.38 kB / 0.7996 GB, free: 39.95 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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 8.266e-05/0.6583, allocations: 107.2 kB / 0.7997 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.6586, allocations: 213.5 kB / 0.7999 GB, free: 39.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6586, allocations: 0 / 0.7999 GB, free: 39.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.6587, allocations: 146.6 kB / 0.8001 GB, free: 39.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.659, allocations: 42.22 kB / 0.8001 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.6596, allocations: 396.2 kB / 0.8005 GB, free: 39.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.6598, allocations: 0.7493 MB / 0.8012 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.6598, allocations: 14.28 kB / 0.8012 GB, free: 38.69 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6598, allocations: 0 / 0.8012 GB, free: 38.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.004722/0.6646, allocations: 2.968 MB / 0.8041 GB, free: 38.55 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)