Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 97.41 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.01087/0.01087, allocations: 170.1 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.617/1.617, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.601/1.601, allocations: 252 MB / 0.5105 GB, free: 4.621 MB / 414.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.0005428/0.000543, allocations: 20 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5447/0.5453, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02148/0.5668, allocations: 21.52 MB / 0.7497 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02557/0.5924, allocations: 17.49 MB / 0.7668 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003652/0.5961, allocations: 103.4 kB / 0.7669 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.5985, allocations: 0.5892 MB / 0.7675 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01333/0.6119, allocations: 3.205 MB / 0.7706 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.6158, allocations: 1.171 MB / 0.7718 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.6264, allocations: 7.062 MB / 0.7787 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004109/0.6305, allocations: 2.55 MB / 0.7811 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.6351, allocations: 2.054 MB / 0.7832 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005943/0.641, allocations: 2.284 MB / 0.7854 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.6422, allocations: 176 kB / 0.7856 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.6451, allocations: 1.064 MB / 0.7866 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.6463, allocations: 0.9691 MB / 0.7875 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002725/0.649, allocations: 1.785 MB / 0.7893 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005545/0.6546, allocations: 4.951 MB / 0.7941 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.6546, allocations: 0 / 0.7941 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.797e-06/0.6546, allocations: 0 / 0.7941 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001354/0.6547, allocations: 0 / 0.7941 GB, free: 7.98 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.009741/0.6645, allocations: 4.064 MB / 0.7981 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.6645, allocations: 11.97 kB / 0.7981 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/0.681, allocations: 3.371 MB / 0.8014 GB, free: 424 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005285/0.6864, allocations: 2.08 MB / 0.8034 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004184/0.6869, allocations: 478.3 kB / 0.8039 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006028/0.6875, allocations: 235.9 kB / 0.8041 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.6987, allocations: 4.873 MB / 0.8089 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.6988, allocations: 0 / 0.8089 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000315/0.6991, allocations: 108 kB / 0.809 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/0.6993, allocations: 168.8 kB / 0.8091 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.7131, allocations: 5.319 MB / 0.8143 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02529/0.7384, allocations: 14.59 MB / 0.8286 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.7485, allocations: 3.687 MB / 0.8322 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004007/0.7526, allocations: 1.592 MB / 0.8337 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.7527, allocations: 29.14 kB / 0.8337 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004534/0.7573, allocations: 1.919 MB / 0.8356 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=163): time 5.15e-06/0.7573, allocations: 0 / 0.8356 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=250): time 0.1366/0.8939, allocations: 34.14 MB / 0.869 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004914/0.8944, allocations: 0.4928 MB / 0.8694 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004677/0.8991, allocations: 2.293 MB / 0.8717 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005758/0.8997, allocations: 77.7 kB / 0.8718 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.9012, allocations: 1.434 MB / 0.8732 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/0.9025, allocations: 0.8241 MB / 0.874 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/0.903, allocations: 186.4 kB / 0.8741 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.9031, allocations: 301.1 kB / 0.8744 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006263/0.9094, allocations: 2.116 MB / 0.8765 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006469/0.9159, allocations: 2.419 MB / 0.8788 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.9278, allocations: 4.529 MB / 0.8833 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.9279, allocations: 4 kB / 0.8833 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02103/0.9489, allocations: 6.914 MB / 0.89 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.9491, allocations: 148.5 kB / 0.8902 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.9491, allocations: 11.88 kB / 0.8902 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01033/0.9595, allocations: 2.926 MB / 0.893 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003334/0.9628, allocations: 0.5774 MB / 0.8936 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4791/1.442, allocations: 17.37 MB / 0.9106 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004299/1.446, allocations: 417.5 kB / 0.911 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/1.447, allocations: 87.36 kB / 0.9111 GB, free: 162.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001617/1.448, allocations: 0.7054 MB / 0.9117 GB, free: 162 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006754/1.449, allocations: 330.7 kB / 0.9121 GB, free: 162 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/1.45, allocations: 384.4 kB / 0.9124 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/1.45, allocations: 23.47 kB / 0.9124 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.256e-05/1.45, allocations: 9.531 kB / 0.9125 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/1.45, allocations: 15.34 kB / 0.9125 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005695/1.456, allocations: 3.625 MB / 0.916 GB, free: 161.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.456, allocations: 0.875 kB / 0.916 GB, free: 161.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002773/1.458, allocations: 0.506 MB / 0.9165 GB, free: 161.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01102/1.469, allocations: 2.87 MB / 0.9193 GB, free: 161 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007572/1.47, allocations: 51.88 kB / 0.9194 GB, free: 161 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03417/1.504, allocations: 17.15 MB / 0.9361 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.505, allocations: 0 / 0.9361 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/1.521, allocations: 6.555 MB / 0.9425 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.523, allocations: 0.6981 MB / 0.9432 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009223/1.524, allocations: 43.53 kB / 0.9432 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003546/1.528, allocations: 416.8 kB / 0.9436 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/1.529, allocations: 348.5 kB / 0.944 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/1.529, allocations: 70.66 kB / 0.944 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002385/1.531, allocations: 1.534 MB / 0.9455 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.11e-07/1.531, allocations: 0 / 0.9455 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003345/1.535, allocations: 1.051 MB / 0.9465 GB, free: 147.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000458/1.535, allocations: 159.1 kB / 0.9467 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02261/1.558, allocations: 6.844 MB / 0.9534 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.558, allocations: 4.75 kB / 0.9534 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01653/1.574, allocations: 4.241 MB / 0.9575 GB, free: 136 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006086/1.581, allocations: 1.045 MB / 0.9585 GB, free: 135 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/1.596, allocations: 8.137 MB / 0.9665 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/1.598, allocations: 2.231 MB / 0.9687 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002586/1.6, allocations: 0.5099 MB / 0.9692 GB, free: 124 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007602/1.601, allocations: 171.4 kB / 0.9693 GB, free: 123.9 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/1.601, allocations: 0 / 0.9693 GB, free: 123.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.1076/1.709, allocations: 72.07 MB / 1.04 GB, free: 52.66 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) Environment - environmentSimulation: