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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001077/0.001077, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.001109/0.001109, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002255/0.002255, allocations: 285.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9547/0.9547, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001896, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.478, allocations: 86.97 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.005683/0.4837, allocations: 4.352 MB / 0.7713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002724/0.4864, allocations: 1.85 MB / 0.7731 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.4866, allocations: 11.94 kB / 0.7731 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.4882, allocations: 0.6055 MB / 0.7737 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004732/0.4886, allocations: 258.6 kB / 0.7739 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.4892, allocations: 255.4 kB / 0.7742 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006628/0.4898, allocations: 0.6149 MB / 0.7748 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006708/0.4905, allocations: 466.8 kB / 0.7752 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.4909, allocations: 251.1 kB / 0.7755 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.4913, allocations: 267 kB / 0.7757 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.4914, allocations: 36 kB / 0.7758 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.4918, allocations: 251.4 kB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.492, allocations: 151.6 kB / 0.7761 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.4922, allocations: 218.9 kB / 0.7764 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.4929, allocations: 0.6138 MB / 0.777 GB, free: 9.707 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4929, allocations: 0 / 0.777 GB, free: 9.707 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4929, allocations: 0 / 0.777 GB, free: 9.707 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.4929, allocations: 0 / 0.777 GB, free: 9.707 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.001112/0.494, allocations: 0.7213 MB / 0.7777 GB, free: 8.934 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4941, allocations: 12.02 kB / 0.7777 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009968/0.4951, allocations: 152.2 kB / 0.7778 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.4956, allocations: 338.5 kB / 0.7781 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.4957, allocations: 25.38 kB / 0.7782 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.4957, allocations: 32.38 kB / 0.7782 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.4965, allocations: 0.5356 MB / 0.7787 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4965, allocations: 7.938 kB / 0.7787 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.4966, allocations: 12 kB / 0.7787 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/0.4966, allocations: 32.64 kB / 0.7788 GB, free: 7.734 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.4972, allocations: 382.3 kB / 0.7791 GB, free: 7.359 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.4996, allocations: 2.399 MB / 0.7815 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.5001, allocations: 265.3 kB / 0.7817 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.5003, allocations: 109.2 kB / 0.7818 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.5003, allocations: 4 kB / 0.7818 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.5003, allocations: 38.45 kB / 0.7819 GB, free: 4.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.5003, allocations: 0 / 0.7819 GB, free: 4.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002147/0.5025, allocations: 1.141 MB / 0.783 GB, free: 3.074 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.5025, allocations: 55.41 kB / 0.783 GB, free: 3.008 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.5028, allocations: 296.6 kB / 0.7833 GB, free: 2.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.5029, allocations: 33.7 kB / 0.7834 GB, free: 2.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.503, allocations: 227.6 kB / 0.7836 GB, free: 2.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.5031, allocations: 82.75 kB / 0.7837 GB, free: 2.363 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.5033, allocations: 58.03 kB / 0.7837 GB, free: 2.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5034, allocations: 342.8 kB / 0.784 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.5036, allocations: 104.6 kB / 0.7841 GB, free: 1.852 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.5038, allocations: 187.8 kB / 0.7843 GB, free: 1.629 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.5042, allocations: 319.2 kB / 0.7846 GB, free: 1.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5042, allocations: 0 / 0.7846 GB, free: 1.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000705/0.5049, allocations: 445.7 kB / 0.785 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5049, allocations: 4.344 kB / 0.785 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5049, allocations: 11.94 kB / 0.7851 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000409/0.5053, allocations: 90.5 kB / 0.7851 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.5056, allocations: 63.91 kB / 0.7852 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/0.5092, allocations: 4.395 MB / 0.7895 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.5095, allocations: 16.14 kB / 0.7895 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.5095, allocations: 16 kB / 0.7895 GB, free: 11.8 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 (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.5097, allocations: 180.1 kB / 0.7897 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.5098, allocations: 35.56 kB / 0.7897 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.096e-05/0.5098, allocations: 38.31 kB / 0.7898 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5099, allocations: 0 / 0.7898 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5099, allocations: 4 kB / 0.7898 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.51, allocations: 128.7 kB / 0.7899 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.5101, allocations: 3.938 kB / 0.7899 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.5103, allocations: 15.98 kB / 0.7899 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.5103, allocations: 19.97 kB / 0.7899 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000853/0.5112, allocations: 419.1 kB / 0.7903 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005524/0.5118, allocations: 0.5318 MB / 0.7909 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001368/0.5119, allocations: 99.92 kB / 0.7909 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002586/0.5122, allocations: 215.1 kB / 0.7912 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of Backend: time 4.81e-07/0.5122, allocations: 0 / 0.7912 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.5137, allocations: 0.7267 MB / 0.7919 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001685/0.5154, allocations: 1.239 MB / 0.7931 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of Templates: time 0.01122/0.5266, allocations: 5.737 MB / 0.7987 GB, free: 2.344 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)