Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 66.02 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.329, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008768/0.3378, allocations: 6.299 MB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006902/0.3448, allocations: 4.533 MB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005908/0.3454, allocations: 27.88 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.3479, allocations: 0.9142 MB / 1.08 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.3499, allocations: 0.7732 MB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006614/0.3505, allocations: 323.4 kB / 1.081 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.3517, allocations: 1.129 MB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008099/0.3526, allocations: 0.689 MB / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.3531, allocations: 474.4 kB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/0.3537, allocations: 0.4903 MB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.977e-05/0.3538, allocations: 68 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004766/0.3543, allocations: 287.5 kB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.3545, allocations: 239.3 kB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.3549, allocations: 410 kB / 1.084 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3559, allocations: 1.059 MB / 1.085 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3559, allocations: 0 / 1.085 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3559, allocations: 4 kB / 1.085 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.3559, allocations: 4 kB / 1.085 GB, free: 8.668 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001784/0.3577, allocations: 1.094 MB / 1.087 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3578, allocations: 15.97 kB / 1.087 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/0.3609, allocations: 0.628 MB / 1.087 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008177/0.3617, allocations: 0.5424 MB / 1.088 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.3618, allocations: 37.69 kB / 1.088 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.166e-05/0.3619, allocations: 60.11 kB / 1.088 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.3639, allocations: 1.014 MB / 1.089 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3639, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/0.364, allocations: 24 kB / 1.089 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.545e-05/0.364, allocations: 45.28 kB / 1.089 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.3663, allocations: 1.012 MB / 1.09 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/0.3704, allocations: 3.505 MB / 1.093 GB, free: 260 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.3719, allocations: 495.2 kB / 1.094 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.3724, allocations: 229.2 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.3725, allocations: 7.938 kB / 1.094 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3725, allocations: 34.56 kB / 1.094 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/0.3725, allocations: 0 / 1.094 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43): time 0.006644/0.3791, allocations: 2.025 MB / 1.096 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.3792, allocations: 59.41 kB / 1.096 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/0.3798, allocations: 0.5665 MB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.3799, allocations: 33.7 kB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.3801, allocations: 356.2 kB / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.3802, allocations: 149.8 kB / 1.097 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.3804, allocations: 90.16 kB / 1.097 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3806, allocations: 370.7 kB / 1.097 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006806/0.3812, allocations: 262.9 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.382, allocations: 369.7 kB / 1.098 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.3834, allocations: 0.6226 MB / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3834, allocations: 0 / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002466/0.3859, allocations: 0.9274 MB / 1.1 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3859, allocations: 4 kB / 1.1 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.386, allocations: 8 kB / 1.1 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3871, allocations: 277.2 kB / 1.1 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.3877, allocations: 123.8 kB / 1.1 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007481/0.3952, allocations: 9.112 MB / 1.109 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.3959, allocations: 43.89 kB / 1.109 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.396, allocations: 23.98 kB / 1.109 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009524/0.3969, allocations: 442.3 kB / 1.109 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007494/0.3977, allocations: 357.4 kB / 1.11 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001399/0.3991, allocations: 0.609 MB / 1.11 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.507e-06/0.3991, allocations: 0 / 1.11 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002513/0.4016, allocations: 1.117 MB / 1.111 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4017, allocations: 11.94 kB / 1.111 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4017, allocations: 0 / 1.111 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007871/0.4025, allocations: 225.2 kB / 1.112 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.4031, allocations: 123.8 kB / 1.112 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006383/0.4095, allocations: 8.797 MB / 1.12 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.4101, allocations: 39.95 kB / 1.12 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.4102, allocations: 23.98 kB / 1.12 GB, free: 2.309 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.4104, allocations: 224 kB / 1.121 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.4105, allocations: 63.25 kB / 1.121 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.4107, allocations: 82.38 kB / 1.121 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4107, allocations: 4 kB / 1.121 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4107, allocations: 0 / 1.121 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4107, allocations: 3.984 kB / 1.121 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008428/0.4116, allocations: 0.6416 MB / 1.121 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4116, allocations: 4 kB / 1.121 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.4121, allocations: 91.84 kB / 1.121 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009634/0.4131, allocations: 261 kB / 1.122 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.4131, allocations: 11.98 kB / 1.122 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006941/0.4201, allocations: 9.065 MB / 1.131 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4201, allocations: 4.062 kB / 1.131 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.4224, allocations: 0.9169 MB / 1.132 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.4227, allocations: 184.2 kB / 1.132 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/0.4228, allocations: 8 kB / 1.132 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.4233, allocations: 43.94 kB / 1.132 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4235, allocations: 35.95 kB / 1.132 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.4235, allocations: 12 kB / 1.132 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004825/0.424, allocations: 403.1 kB / 1.132 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.31e-07/0.424, allocations: 0 / 1.132 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001057/0.4251, allocations: 304 kB / 1.132 GB, free: 5.008 MB / 0.8887 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001389/0.4252, allocations: 111.2 kB / 1.133 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00384/0.4291, allocations: 2.406 MB / 1.135 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4291, allocations: 0 / 1.135 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.4304, allocations: 0.9964 MB / 1.136 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009483/0.4314, allocations: 235.9 kB / 1.136 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.4337, allocations: 1.306 MB / 1.137 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/0.4344, allocations: 0.9781 MB / 1.138 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005788/0.435, allocations: 153.4 kB / 1.138 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.4351, allocations: 43.42 kB / 1.139 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of SimCode: time 3.9e-07/0.4351, allocations: 3.938 kB / 1.139 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.02175/0.4569, allocations: 13.44 MB / 1.152 GB, free: 1.195 MB / 0.9044 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)