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.0007796/0.0007796, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005189/0.005189, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.605/1.605, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.825/1.825, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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: 16.91 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2894, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003804/0.2932, allocations: 2.757 MB / 0.7906 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.2955, allocations: 1.298 MB / 0.7918 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.2956, allocations: 4 kB / 0.7918 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.2958, allocations: 39.7 kB / 0.7919 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.2963, allocations: 143.4 kB / 0.792 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.2966, allocations: 131 kB / 0.7921 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.2971, allocations: 434.8 kB / 0.7925 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003691/0.2975, allocations: 229.4 kB / 0.7928 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.2976, allocations: 95.64 kB / 0.7929 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.298, allocations: 135.5 kB / 0.793 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.298, allocations: 12 kB / 0.793 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.2984, allocations: 207.5 kB / 0.7932 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.223e-05/0.2984, allocations: 63.81 kB / 0.7933 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.2986, allocations: 133.2 kB / 0.7934 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.299, allocations: 331.2 kB / 0.7937 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.299, allocations: 0 / 0.7937 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.396e-06/0.299, allocations: 0 / 0.7937 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.299, allocations: 3.938 kB / 0.7937 GB, free: 5.594 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.0007917/0.2998, allocations: 495 kB / 0.7942 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.2999, allocations: 12.03 kB / 0.7942 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006007/0.3005, allocations: 76.67 kB / 0.7943 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.3008, allocations: 242.2 kB / 0.7945 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.3008, allocations: 12.75 kB / 0.7945 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.3008, allocations: 20.38 kB / 0.7945 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.3013, allocations: 311 kB / 0.7948 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3013, allocations: 0 / 0.7948 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.3014, allocations: 12 kB / 0.7948 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.3014, allocations: 12.38 kB / 0.7948 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.3017, allocations: 200.9 kB / 0.795 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.3032, allocations: 1.468 MB / 0.7965 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.3035, allocations: 171.7 kB / 0.7966 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.3036, allocations: 41 kB / 0.7967 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.3036, allocations: 3.984 kB / 0.7967 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3036, allocations: 38.55 kB / 0.7967 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3036, allocations: 0 / 0.7967 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.00048/0.3041, allocations: 219.5 kB / 0.7969 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3041, allocations: 59.41 kB / 0.797 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.3044, allocations: 200.1 kB / 0.7972 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.3044, allocations: 25.7 kB / 0.7972 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3045, allocations: 163.6 kB / 0.7973 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.3045, allocations: 27.64 kB / 0.7974 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.3046, allocations: 17.72 kB / 0.7974 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3047, allocations: 326.8 kB / 0.7977 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.44e-05/0.3048, allocations: 39.97 kB / 0.7977 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3049, allocations: 100.5 kB / 0.7978 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.3051, allocations: 144.4 kB / 0.798 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3051, allocations: 4 kB / 0.798 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003104/0.3054, allocations: 194 kB / 0.7982 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3055, allocations: 4 kB / 0.7982 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3055, allocations: 4 kB / 0.7982 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/0.3056, allocations: 20.84 kB / 0.7982 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3058, allocations: 35.92 kB / 0.7982 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.3068, allocations: 1.331 MB / 0.7995 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.307, allocations: 19.88 kB / 0.7995 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.307, allocations: 4.156 kB / 0.7995 GB, free: 15.01 MB / 0.6231 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 0.0001385/0.3071, allocations: 145.8 kB / 0.7997 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.3072, allocations: 19.75 kB / 0.7997 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.3072, allocations: 21.39 kB / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3072, allocations: 0 / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3072, allocations: 4 kB / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3073, allocations: 0 / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.3078, allocations: 451.5 kB / 0.8002 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3078, allocations: 0 / 0.8002 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.3078, allocations: 8 kB / 0.8002 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.243e-05/0.3079, allocations: 20.84 kB / 0.8002 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3079, allocations: 4 kB / 0.8002 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.3089, allocations: 1.315 MB / 0.8015 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.309, allocations: 3.938 kB / 0.8015 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.3092, allocations: 216.3 kB / 0.8017 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.3093, allocations: 93 kB / 0.8018 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.3093, allocations: 3.938 kB / 0.8018 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3094, allocations: 7.984 kB / 0.8018 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.3094, allocations: 8 kB / 0.8018 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3095, allocations: 0 / 0.8018 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001294/0.3096, allocations: 152.1 kB / 0.8019 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.933e-06/0.3096, allocations: 0 / 0.8019 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003277/0.3099, allocations: 55.78 kB / 0.802 GB, free: 12.27 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 (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.0001266/0.3101, allocations: 99.25 kB / 0.8021 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.3104, allocations: 206.5 kB / 0.8023 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3105, allocations: 0 / 0.8023 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3106, allocations: 155.2 kB / 0.8024 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.311, allocations: 34.45 kB / 0.8025 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006599/0.3117, allocations: 443.6 kB / 0.8029 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.312, allocations: 0.7594 MB / 0.8036 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.339e-05/0.3121, allocations: 25.53 kB / 0.8037 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.3122, allocations: 15.44 kB / 0.8037 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.3122, allocations: 0 / 0.8037 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of Templates: time 0.004653/0.3168, allocations: 1.663 MB / 0.8053 GB, free: 8.824 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: