Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009691/0.0009692, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001165/0.001165, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.602/1.602, allocations: 251.9 MB / 0.51 GB, free: 4.809 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.0009314/0.0009315, allocations: 15.28 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6147/0.6156, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005103/0.6208, allocations: 3.685 MB / 0.7316 GB, free: 7.754 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.6237, allocations: 1.731 MB / 0.7333 GB, free: 6.012 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.6239, allocations: 11.94 kB / 0.7333 GB, free: 6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.6242, allocations: 75.45 kB / 0.7333 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005346/0.6247, allocations: 191.4 kB / 0.7335 GB, free: 5.738 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.6253, allocations: 187.5 kB / 0.7337 GB, free: 5.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.6258, allocations: 359.2 kB / 0.7341 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005167/0.6264, allocations: 385.6 kB / 0.7344 GB, free: 4.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.6266, allocations: 171.4 kB / 0.7346 GB, free: 4.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.627, allocations: 187.3 kB / 0.7348 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.627, allocations: 20 kB / 0.7348 GB, free: 4.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.6274, allocations: 115.8 kB / 0.7349 GB, free: 4.316 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.6275, allocations: 119.7 kB / 0.735 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.6276, allocations: 101.5 kB / 0.7351 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.6282, allocations: 456.8 kB / 0.7355 GB, free: 3.648 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6282, allocations: 0 / 0.7355 GB, free: 3.648 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6282, allocations: 0 / 0.7355 GB, free: 3.648 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.6283, allocations: 0 / 0.7355 GB, free: 3.648 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001408/0.6297, allocations: 0.6588 MB / 0.7362 GB, free: 2.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.6297, allocations: 8.031 kB / 0.7362 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.6308, allocations: 167.3 kB / 0.7363 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.6314, allocations: 329.2 kB / 0.7367 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.6315, allocations: 21 kB / 0.7367 GB, free: 2.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.6315, allocations: 35.98 kB / 0.7367 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008858/0.6324, allocations: 0.5197 MB / 0.7372 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.6325, allocations: 0 / 0.7372 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.6325, allocations: 23.95 kB / 0.7372 GB, free: 1.766 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.6326, allocations: 32.64 kB / 0.7373 GB, free: 1.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006428/0.6332, allocations: 394.2 kB / 0.7377 GB, free: 1.344 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.636, allocations: 2.4 MB / 0.74 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.6365, allocations: 265.9 kB / 0.7403 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.6365, allocations: 7.953 kB / 0.7403 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.6366, allocations: 38.56 kB / 0.7403 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.6366, allocations: 4 kB / 0.7403 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002347/0.6389, allocations: 1.11 MB / 0.7414 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.639, allocations: 55.41 kB / 0.7414 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.6394, allocations: 300.5 kB / 0.7417 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.6395, allocations: 29.7 kB / 0.7418 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.6397, allocations: 227.6 kB / 0.742 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.6398, allocations: 82.84 kB / 0.742 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.6398, allocations: 11.94 kB / 0.7421 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.64, allocations: 338.8 kB / 0.7424 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.6402, allocations: 104.5 kB / 0.7425 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.6404, allocations: 191.7 kB / 0.7427 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.6407, allocations: 134.5 kB / 0.7428 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6407, allocations: 0 / 0.7428 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007519/0.6414, allocations: 442.1 kB / 0.7432 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.6415, allocations: 4 kB / 0.7432 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.6415, allocations: 7.984 kB / 0.7432 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/0.6419, allocations: 102.6 kB / 0.7433 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.6422, allocations: 63.91 kB / 0.7434 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/0.6458, allocations: 4.099 MB / 0.7474 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.6461, allocations: 12.02 kB / 0.7474 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.6461, allocations: 12 kB / 0.7474 GB, free: 6.504 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002407/0.6463, allocations: 180.3 kB / 0.7476 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.6464, allocations: 35.58 kB / 0.7476 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.391e-05/0.6465, allocations: 50.48 kB / 0.7477 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6465, allocations: 4 kB / 0.7477 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.6465, allocations: 0 / 0.7477 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6465, allocations: 0 / 0.7477 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.647, allocations: 397.4 kB / 0.748 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.647, allocations: 0 / 0.748 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.6472, allocations: 39.97 kB / 0.7481 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.6475, allocations: 94.44 kB / 0.7482 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.6476, allocations: 7.953 kB / 0.7482 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003326/0.6509, allocations: 4.092 MB / 0.7522 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6509, allocations: 0 / 0.7522 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008195/0.6518, allocations: 0.5499 MB / 0.7527 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.6519, allocations: 124.7 kB / 0.7528 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.652, allocations: 12.08 kB / 0.7528 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.6522, allocations: 15.98 kB / 0.7529 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.6522, allocations: 19.98 kB / 0.7529 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.6523, allocations: 8 kB / 0.7529 GB, free: 392 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002066/0.6525, allocations: 211 kB / 0.7531 GB, free: 184 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6525, allocations: 0 / 0.7531 GB, free: 184 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004984/0.653, allocations: 100 kB / 0.7532 GB, free: 84 kB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.6532, allocations: 107.2 kB / 0.7533 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008723/0.654, allocations: 0.6056 MB / 0.7539 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.654, allocations: 0 / 0.7539 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.6545, allocations: 470.5 kB / 0.7543 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.655, allocations: 83.47 kB / 0.7544 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.6563, allocations: 0.8505 MB / 0.7552 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.6568, allocations: 0.8425 MB / 0.7561 GB, free: 13 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.657, allocations: 58.94 kB / 0.7561 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.6571, allocations: 23.44 kB / 0.7561 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.6571, allocations: 0 / 0.7561 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of Templates: time 0.008329/0.6654, allocations: 4.1 MB / 0.7601 GB, free: 8.859 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) Environment - environmentSimulation: