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.001459/0.001459, allocations: 118 kB / 16.42 MB, free: 6.445 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.001578/0.001578, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.356/1.356, 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.00217/0.00217, allocations: 286.8 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.9664/0.9664, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 95.86 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4649, allocations: 86.97 MB / 0.767 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.005627/0.4705, allocations: 4.348 MB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002699/0.4733, allocations: 1.85 MB / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.4735, allocations: 11.94 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.475, allocations: 0.6059 MB / 0.7737 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004832/0.4755, allocations: 262.6 kB / 0.7739 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.4761, allocations: 251.4 kB / 0.7742 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000591/0.4767, allocations: 0.6071 MB / 0.7748 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006311/0.4773, allocations: 470.8 kB / 0.7752 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.4776, allocations: 251.1 kB / 0.7755 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.478, allocations: 267 kB / 0.7757 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.4781, allocations: 36 kB / 0.7758 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.4785, allocations: 263.4 kB / 0.776 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.4786, allocations: 147.6 kB / 0.7761 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.4788, allocations: 215 kB / 0.7763 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006162/0.4794, allocations: 0.6099 MB / 0.7769 GB, free: 9.527 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4795, allocations: 0 / 0.7769 GB, free: 9.527 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4795, allocations: 0 / 0.7769 GB, free: 9.527 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4795, allocations: 0 / 0.7769 GB, free: 9.527 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.001155/0.4806, allocations: 0.7252 MB / 0.7777 GB, free: 8.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4807, allocations: 8.031 kB / 0.7777 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009683/0.4817, allocations: 148.2 kB / 0.7778 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.4821, allocations: 342.5 kB / 0.7781 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.4822, allocations: 25.36 kB / 0.7782 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.4822, allocations: 36.38 kB / 0.7782 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.483, allocations: 0.5356 MB / 0.7787 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.483, allocations: 3.938 kB / 0.7787 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/0.4831, allocations: 16 kB / 0.7787 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.4831, allocations: 32.64 kB / 0.7788 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.4837, allocations: 390.3 kB / 0.7791 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.486, allocations: 2.399 MB / 0.7815 GB, free: 4.547 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.4865, allocations: 254.5 kB / 0.7817 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.4867, allocations: 113.1 kB / 0.7818 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.4867, allocations: 0 / 0.7818 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.4868, allocations: 42.52 kB / 0.7819 GB, free: 4.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.4868, allocations: 4 kB / 0.7819 GB, free: 4.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002076/0.4888, allocations: 1.129 MB / 0.783 GB, free: 2.895 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.4889, allocations: 55.41 kB / 0.783 GB, free: 2.828 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.4892, allocations: 296.6 kB / 0.7833 GB, free: 2.531 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.4892, allocations: 33.7 kB / 0.7833 GB, free: 2.492 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.4893, allocations: 231.6 kB / 0.7836 GB, free: 2.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.4894, allocations: 82.75 kB / 0.7836 GB, free: 2.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.4895, allocations: 65.97 kB / 0.7837 GB, free: 2.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4896, allocations: 342.8 kB / 0.784 GB, free: 1.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.4898, allocations: 100.6 kB / 0.7841 GB, free: 1.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.49, allocations: 187.8 kB / 0.7843 GB, free: 1.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.4904, allocations: 311.5 kB / 0.7846 GB, free: 1.102 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4904, allocations: 4 kB / 0.7846 GB, free: 1.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006787/0.4911, allocations: 443.9 kB / 0.785 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4911, allocations: 14.53 kB / 0.785 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4911, allocations: 4 kB / 0.785 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003425/0.4915, allocations: 94.44 kB / 0.7851 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.4917, allocations: 67.91 kB / 0.7852 GB, free: 480 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.495, allocations: 4.399 MB / 0.7895 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.4952, allocations: 8 kB / 0.7895 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.4953, allocations: 12 kB / 0.7895 GB, free: 11.62 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.0001995/0.4955, allocations: 180.1 kB / 0.7897 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.4955, allocations: 39.55 kB / 0.7897 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.896e-05/0.4956, allocations: 34.33 kB / 0.7898 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4956, allocations: 8.047 kB / 0.7898 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4956, allocations: 0 / 0.7898 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4958, allocations: 124.7 kB / 0.7899 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.4958, allocations: 8 kB / 0.7899 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.496, allocations: 8 kB / 0.7899 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.4961, allocations: 19.97 kB / 0.7899 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008238/0.4969, allocations: 433.7 kB / 0.7903 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005209/0.4974, allocations: 0.5254 MB / 0.7908 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001362/0.4976, allocations: 101.2 kB / 0.7909 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002082/0.4978, allocations: 207.1 kB / 0.7911 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of Backend: time 4.61e-07/0.4978, allocations: 0 / 0.7911 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.4991, allocations: 0.7369 MB / 0.7919 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001374/0.5005, allocations: 1.232 MB / 0.7931 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of Templates: time 0.01006/0.5106, allocations: 5.742 MB / 0.7987 GB, free: 2.156 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)