Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009258/0.0009258, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009885/0.0009885, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9643/0.9643, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002637/0.002637, allocations: 248.9 kB / 260.5 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7899/0.7899, allocations: 138.4 MB / 402.2 MB, free: 28 kB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 1.156 kB / 462.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/3.045e-05, allocations: 4.562 kB / 462.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006578/0.006609, allocations: 3.347 MB / 465.7 MB, free: 14.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003773/0.01038, allocations: 1.253 MB / 466.9 MB, free: 13.85 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.01069, allocations: 11.94 kB / 466.9 MB, free: 13.84 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.01119, allocations: 130.3 kB / 467.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.01158, allocations: 235.8 kB / 467.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.01189, allocations: 197.7 kB / 467.5 MB, free: 13.33 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.01232, allocations: 0.6348 MB / 468.1 MB, free: 12.69 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.01266, allocations: 354.8 kB / 468.5 MB, free: 12.36 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.01291, allocations: 348 kB / 468.8 MB, free: 12.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.01323, allocations: 230 kB / 469 MB, free: 11.79 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.01327, allocations: 40 kB / 469.1 MB, free: 11.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.01343, allocations: 111.7 kB / 469.2 MB, free: 11.64 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.01354, allocations: 172.6 kB / 469.4 MB, free: 11.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.01364, allocations: 159.6 kB / 469.5 MB, free: 11.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.01398, allocations: 394.7 kB / 469.9 MB, free: 10.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.01398, allocations: 0.8438 kB / 469.9 MB, free: 10.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01398, allocations: 4 kB / 469.9 MB, free: 10.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.01399, allocations: 1.188 kB / 469.9 MB, free: 10.93 MB / 426.7 MB 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.0006624/0.01465, allocations: 0.6185 MB / 470.5 MB, free: 10.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.01468, allocations: 8.75 kB / 470.5 MB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005986/0.01528, allocations: 201.8 kB / 470.7 MB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.01555, allocations: 255 kB / 471 MB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.01557, allocations: 34.02 kB / 471 MB, free: 9.789 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.01561, allocations: 32.38 kB / 471 MB, free: 9.758 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.01596, allocations: 499 kB / 471.5 MB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.01598, allocations: 4.125 kB / 471.5 MB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.016, allocations: 17.12 kB / 471.5 MB, free: 9.188 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.01604, allocations: 34.14 kB / 471.6 MB, free: 9.152 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.01619, allocations: 114.1 kB / 471.7 MB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01727, allocations: 1.424 MB / 473.1 MB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.01751, allocations: 161.7 kB / 473.3 MB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.01756, allocations: 45.86 kB / 473.3 MB, free: 7.367 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.01757, allocations: 5.344 kB / 473.3 MB, free: 7.363 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.01759, allocations: 31.19 kB / 473.4 MB, free: 7.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.01759, allocations: 0 / 473.4 MB, free: 7.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004844/0.01807, allocations: 273.4 kB / 473.6 MB, free: 7.051 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.01809, allocations: 60.41 kB / 473.7 MB, free: 6.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.01824, allocations: 248.9 kB / 473.9 MB, free: 6.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.01825, allocations: 25.7 kB / 473.9 MB, free: 6.699 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.01833, allocations: 232.4 kB / 474.2 MB, free: 6.465 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.01837, allocations: 68.55 kB / 474.2 MB, free: 6.398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.01844, allocations: 65.62 kB / 474.3 MB, free: 6.328 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.01852, allocations: 334.8 kB / 474.6 MB, free: 5.992 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.01856, allocations: 28.61 kB / 474.7 MB, free: 5.965 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.01863, allocations: 109.7 kB / 474.8 MB, free: 5.824 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.01877, allocations: 174.3 kB / 474.9 MB, free: 5.625 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01877, allocations: 7.938 kB / 474.9 MB, free: 5.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002468/0.01902, allocations: 215.7 kB / 475.2 MB, free: 5.402 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.01903, allocations: 14.98 kB / 475.2 MB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01904, allocations: 4 kB / 475.2 MB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.01926, allocations: 71.7 kB / 475.2 MB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.01943, allocations: 73.08 kB / 475.3 MB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.02057, allocations: 2.415 MB / 477.7 MB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.02067, allocations: 33.55 kB / 477.8 MB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.02068, allocations: 12 kB / 477.8 MB, free: 2.598 MB / 426.7 MB 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/0.02077, allocations: 129.6 kB / 477.9 MB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.0208, allocations: 23.97 kB / 477.9 MB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.02084, allocations: 30.12 kB / 478 MB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.02084, allocations: 9 kB / 478 MB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.02084, allocations: 0.8125 kB / 478 MB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.02085, allocations: 4.641 kB / 478 MB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.02102, allocations: 178.7 kB / 478.1 MB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02103, allocations: 1.219 kB / 478.1 MB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.02114, allocations: 43.91 kB / 478.2 MB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001606/0.0213, allocations: 66.05 kB / 478.3 MB, free: 2.094 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.02131, allocations: 8.812 kB / 478.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009966/0.02231, allocations: 2.407 MB / 480.7 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02231, allocations: 0.8438 kB / 480.7 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.02256, allocations: 287.7 kB / 481 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.02261, allocations: 37.69 kB / 481 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.02263, allocations: 4.578 kB / 481 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.02272, allocations: 16.91 kB / 481 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.02274, allocations: 15.97 kB / 481 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.02275, allocations: 5 kB / 481 MB, free: 15.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.015e-05/0.02281, allocations: 86.75 kB / 481.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.02281, allocations: 4 kB / 481.1 MB, free: 15.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000236/0.02305, allocations: 104.8 kB / 481.2 MB, free: 14.93 MB / 442.7 MB 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.437e-05/0.02313, allocations: 86.11 kB / 481.3 MB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.02344, allocations: 362.3 kB / 481.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.02345, allocations: 6.156 kB / 481.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.0236, allocations: 290 kB / 481.9 MB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.02384, allocations: 70.69 kB / 482 MB, free: 14.08 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/0.02471, allocations: 0.6517 MB / 482.7 MB, free: 13.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.479e-05/0.02478, allocations: 126 kB / 482.8 MB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.533e-05/0.02488, allocations: 38.17 kB / 482.8 MB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.02501, allocations: 103.3 kB / 482.9 MB, free: 13.15 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02501, allocations: 2.031 kB / 482.9 MB, free: 13.15 MB / 442.7 MB Notification: Performance of Templates: time 0.005731/0.03074, allocations: 4.092 MB / 487 MB, free: 9.336 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.447873587254435]