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.0009521/0.000952, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.000952/0.000952, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.685/1.685, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005108/0.0005108, allocations: 11.19 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2648, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003356/0.2682, allocations: 2.595 MB / 0.7896 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.2699, allocations: 1.217 MB / 0.7908 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.27, allocations: 4 kB / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2702, allocations: 39.75 kB / 0.7909 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.2705, allocations: 103.7 kB / 0.791 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.2708, allocations: 95.73 kB / 0.7911 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.271, allocations: 175.6 kB / 0.7912 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.2713, allocations: 208 kB / 0.7914 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.2715, allocations: 87.7 kB / 0.7915 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.2717, allocations: 99.58 kB / 0.7916 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.2717, allocations: 11.98 kB / 0.7916 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.2719, allocations: 75.89 kB / 0.7917 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.581e-05/0.272, allocations: 67.81 kB / 0.7918 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.272, allocations: 61.58 kB / 0.7918 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.2723, allocations: 243.7 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2723, allocations: 0 / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2723, allocations: 0 / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.2723, allocations: 0 / 0.792 GB, free: 6.895 MB / 0.6075 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.0006883/0.273, allocations: 498.9 kB / 0.7925 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2731, allocations: 12.03 kB / 0.7925 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005686/0.2736, allocations: 79.69 kB / 0.7926 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.2739, allocations: 234.7 kB / 0.7928 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.274, allocations: 20.36 kB / 0.7929 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.274, allocations: 27.92 kB / 0.7929 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.2744, allocations: 290.8 kB / 0.7932 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2744, allocations: 0 / 0.7932 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.2745, allocations: 11.94 kB / 0.7932 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.2745, allocations: 20.31 kB / 0.7932 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.2748, allocations: 204.9 kB / 0.7934 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.2764, allocations: 1.46 MB / 0.7948 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.2766, allocations: 175.7 kB / 0.795 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.2766, allocations: 0 / 0.795 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.2767, allocations: 34.55 kB / 0.795 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.2767, allocations: 0 / 0.795 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004478/0.2771, allocations: 239.3 kB / 0.7952 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.2772, allocations: 51.41 kB / 0.7953 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.2774, allocations: 192.2 kB / 0.7955 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2774, allocations: 29.7 kB / 0.7955 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.2775, allocations: 167.7 kB / 0.7957 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2775, allocations: 23.7 kB / 0.7957 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.2775, allocations: 8 kB / 0.7957 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.2776, allocations: 318.8 kB / 0.796 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.2777, allocations: 39.98 kB / 0.796 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.126e-05/0.2778, allocations: 96.5 kB / 0.7961 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.916e-05/0.2779, allocations: 51.98 kB / 0.7962 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2779, allocations: 4 kB / 0.7962 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002659/0.2782, allocations: 186.3 kB / 0.7964 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2782, allocations: 15.89 kB / 0.7964 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2782, allocations: 4 kB / 0.7964 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.2783, allocations: 24.84 kB / 0.7964 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.2785, allocations: 27.98 kB / 0.7964 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009833/0.2794, allocations: 1.327 MB / 0.7977 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2796, allocations: 15.84 kB / 0.7977 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2796, allocations: 8 kB / 0.7977 GB, free: 0.4961 MB / 0.6075 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 (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.0001294/0.2797, allocations: 149.9 kB / 0.7979 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.2798, allocations: 19.86 kB / 0.7979 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.2798, allocations: 25.33 kB / 0.7979 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2798, allocations: 0 / 0.7979 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2798, allocations: 0 / 0.7979 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2798, allocations: 0 / 0.7979 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.2803, allocations: 451.2 kB / 0.7984 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2803, allocations: 0 / 0.7984 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.2804, allocations: 4 kB / 0.7984 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-05/0.2804, allocations: 28.84 kB / 0.7984 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2805, allocations: 0 / 0.7984 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008772/0.2813, allocations: 1.323 MB / 0.7997 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2814, allocations: 0 / 0.7997 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.2816, allocations: 216.1 kB / 0.7999 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.2817, allocations: 89.02 kB / 0.8 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.2817, allocations: 7.984 kB / 0.8 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2818, allocations: 8.188 kB / 0.8 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.2818, allocations: 4 kB / 0.8 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2818, allocations: 4 kB / 0.8 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001242/0.282, allocations: 148.1 kB / 0.8001 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.282, allocations: 0 / 0.8001 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003009/0.2823, allocations: 55.75 kB / 0.8002 GB, free: 13.75 MB / 0.6231 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 (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 0.000123/0.2824, allocations: 107.2 kB / 0.8003 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.2828, allocations: 202.5 kB / 0.8005 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2828, allocations: 0 / 0.8005 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.2829, allocations: 150.6 kB / 0.8006 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.2832, allocations: 31.53 kB / 0.8007 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.2838, allocations: 427.3 kB / 0.8011 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2841, allocations: 0.7556 MB / 0.8018 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.886e-05/0.2842, allocations: 21.53 kB / 0.8018 GB, free: 12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.2842, allocations: 15.44 kB / 0.8018 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2842, allocations: 4 kB / 0.8018 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.004144/0.2884, allocations: 1.624 MB / 0.8034 GB, free: 10.37 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: