Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001324/0.001324, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001358/0.001358, allocations: 192.3 kB / 16.25 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 62.66 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3273, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00452/0.3319, allocations: 3.137 MB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.3339, allocations: 1.309 MB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.334, allocations: 7.938 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009756/0.335, allocations: 326.9 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.3353, allocations: 127.4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.3356, allocations: 127.7 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.3359, allocations: 299 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.3364, allocations: 260.5 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3365, allocations: 131.5 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.3368, allocations: 143.5 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.3368, allocations: 16 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.3371, allocations: 167.6 kB / 1.074 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.3372, allocations: 79.8 kB / 1.074 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.3373, allocations: 107.5 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.3377, allocations: 346.8 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3377, allocations: 0 / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3377, allocations: 0 / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3377, allocations: 4 kB / 1.074 GB, free: 4.258 MB / 0.8262 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.0007578/0.3385, allocations: 0.5146 MB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3385, allocations: 12.02 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005741/0.3391, allocations: 76.59 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3394, allocations: 243.9 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3394, allocations: 20.73 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.3394, allocations: 16.38 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.3399, allocations: 303.3 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3399, allocations: 4 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.3399, allocations: 4 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.34, allocations: 16.36 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.3403, allocations: 201 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.3417, allocations: 1.46 MB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.342, allocations: 183.6 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.944e-05/0.3421, allocations: 33 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.3421, allocations: 0 / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.3421, allocations: 38.48 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.3421, allocations: 0 / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004752/0.3426, allocations: 231.4 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.3427, allocations: 51.41 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.3429, allocations: 210.7 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3429, allocations: 25.7 kB / 1.078 GB, free: 284 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.343, allocations: 159.6 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.343, allocations: 27.64 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.3431, allocations: 37.7 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3432, allocations: 334.7 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.3433, allocations: 31.98 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.733e-05/0.3434, allocations: 100.6 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3436, allocations: 144.4 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3436, allocations: 0 / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003032/0.3439, allocations: 194 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3439, allocations: 8 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3439, allocations: 0 / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.3441, allocations: 29.12 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3442, allocations: 27.94 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.3453, allocations: 1.423 MB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.3454, allocations: 19.94 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3454, allocations: 8 kB / 1.08 GB, free: 13.52 MB / 0.8419 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.0001237/0.3456, allocations: 141.9 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.3456, allocations: 19.81 kB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.3456, allocations: 21.39 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3456, allocations: 0 / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3457, allocations: 4 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3457, allocations: 0 / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.3462, allocations: 447.2 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3462, allocations: 0 / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-05/0.3462, allocations: 8 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.933e-05/0.3463, allocations: 32.78 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3463, allocations: 0 / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009361/0.3473, allocations: 1.414 MB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3473, allocations: 96 / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.3475, allocations: 228.1 kB / 1.082 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.3476, allocations: 100.8 kB / 1.082 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3476, allocations: 4 kB / 1.082 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3477, allocations: 4 kB / 1.082 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.3477, allocations: 4 kB / 1.082 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3478, allocations: 3.984 kB / 1.082 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001217/0.3479, allocations: 144.3 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3479, allocations: 0 / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000322/0.3482, allocations: 51.84 kB / 1.083 GB, free: 10.67 MB / 0.8419 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.0001115/0.3483, allocations: 107.2 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003735/0.3487, allocations: 214.5 kB / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3487, allocations: 0 / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.3489, allocations: 147.2 kB / 1.083 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3493, allocations: 39.23 kB / 1.083 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.3499, allocations: 430.5 kB / 1.083 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3502, allocations: 0.7514 MB / 1.084 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.599e-05/0.3503, allocations: 21.55 kB / 1.084 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.3504, allocations: 15.44 kB / 1.084 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3504, allocations: 0 / 1.084 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of Templates: time 0.004443/0.3548, allocations: 1.752 MB / 1.086 GB, free: 7.152 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)