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.001248/0.001248, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001556/0.001556, allocations: 192 kB / 16.25 MB, free: 6.625 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.639/1.639, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.775/1.775, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001401/0.001401, allocations: 67.88 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3083, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005458/0.3138, allocations: 3.108 MB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3159, allocations: 1.31 MB / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.316, allocations: 4 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.317, allocations: 315 kB / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.3174, allocations: 135.4 kB / 0.7876 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.3177, allocations: 127.5 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.3181, allocations: 310.9 kB / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.3185, allocations: 248.6 kB / 0.7883 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3187, allocations: 127.5 kB / 0.7884 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.319, allocations: 147.5 kB / 0.7885 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.319, allocations: 20 kB / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.3193, allocations: 167.6 kB / 0.7887 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.894e-05/0.3194, allocations: 83.78 kB / 0.7888 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3195, allocations: 107.5 kB / 0.7889 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.3199, allocations: 346.9 kB / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3199, allocations: 0 / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3199, allocations: 0 / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3199, allocations: 0 / 0.7892 GB, free: 7.391 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.000859/0.3208, allocations: 0.5108 MB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3209, allocations: 12.03 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005715/0.3214, allocations: 76.58 kB / 0.7898 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.3217, allocations: 247.9 kB / 0.79 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.3218, allocations: 12.75 kB / 0.79 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.3218, allocations: 16.38 kB / 0.7901 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.3222, allocations: 307.1 kB / 0.7904 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3222, allocations: 3.938 kB / 0.7904 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.3223, allocations: 8 kB / 0.7904 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.3223, allocations: 24.36 kB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.3226, allocations: 193 kB / 0.7906 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3242, allocations: 1.468 MB / 0.792 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.3244, allocations: 179.7 kB / 0.7922 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.3245, allocations: 36.78 kB / 0.7922 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.3245, allocations: 4 kB / 0.7922 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3246, allocations: 38.5 kB / 0.7923 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3246, allocations: 0 / 0.7923 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004844/0.3251, allocations: 223.6 kB / 0.7925 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.3251, allocations: 55.41 kB / 0.7925 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.3253, allocations: 204.1 kB / 0.7927 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3253, allocations: 25.7 kB / 0.7927 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3255, allocations: 159.6 kB / 0.7929 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.3255, allocations: 31.58 kB / 0.7929 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.3256, allocations: 37.7 kB / 0.793 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3257, allocations: 326.8 kB / 0.7933 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.3258, allocations: 35.98 kB / 0.7933 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3259, allocations: 107.1 kB / 0.7934 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.3261, allocations: 144.5 kB / 0.7935 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3261, allocations: 0 / 0.7935 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002855/0.3264, allocations: 186.2 kB / 0.7937 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3264, allocations: 11.98 kB / 0.7937 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3264, allocations: 0 / 0.7937 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.3266, allocations: 28.78 kB / 0.7938 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3267, allocations: 24.28 kB / 0.7938 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.328, allocations: 1.427 MB / 0.7952 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3281, allocations: 11.84 kB / 0.7952 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3281, allocations: 15.98 kB / 0.7952 GB, free: 0.6523 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 (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.0001488/0.3283, allocations: 145.7 kB / 0.7953 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.3283, allocations: 15.91 kB / 0.7954 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.3284, allocations: 25.33 kB / 0.7954 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3284, allocations: 4.062 kB / 0.7954 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3284, allocations: 0 / 0.7954 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3284, allocations: 0 / 0.7954 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.329, allocations: 455.1 kB / 0.7958 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.329, allocations: 0 / 0.7958 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.329, allocations: 8 kB / 0.7958 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.903e-05/0.3291, allocations: 20.91 kB / 0.7958 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3292, allocations: 11.94 kB / 0.7959 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.3303, allocations: 1.41 MB / 0.7972 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3303, allocations: 0 / 0.7972 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.3306, allocations: 216.1 kB / 0.7974 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.3307, allocations: 104.9 kB / 0.7975 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.3307, allocations: 0 / 0.7975 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3308, allocations: 8.062 kB / 0.7975 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.3309, allocations: 0 / 0.7975 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.3309, allocations: 11.98 kB / 0.7976 GB, free: 14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001285/0.331, allocations: 139 kB / 0.7977 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.331, allocations: 0 / 0.7977 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003201/0.3314, allocations: 55.84 kB / 0.7977 GB, free: 13.8 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.0001469/0.3315, allocations: 107.2 kB / 0.7978 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.3319, allocations: 214.5 kB / 0.7981 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3319, allocations: 0 / 0.7981 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.3321, allocations: 150.6 kB / 0.7982 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.3325, allocations: 30.2 kB / 0.7982 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.3331, allocations: 434.7 kB / 0.7986 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3335, allocations: 0.7513 MB / 0.7994 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.708e-05/0.3336, allocations: 17.55 kB / 0.7994 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.3336, allocations: 15.62 kB / 0.7994 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.3336, allocations: 4 kB / 0.7994 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.004647/0.3383, allocations: 1.753 MB / 0.8011 GB, free: 10.28 MB / 0.6231 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)