Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 109.5 kB / 16.42 MB, free: 6.496 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.001841/0.001841, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.349/1.349, allocations: 222.9 MB / 241.1 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.002162/0.002162, allocations: 286.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9637/0.9637, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002018, allocations: 95.83 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.4661, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.007699/0.4738, allocations: 6.272 MB / 0.7732 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00709/0.4809, allocations: 4.534 MB / 0.7776 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.4816, allocations: 23.88 kB / 0.7776 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.484, allocations: 0.917 MB / 0.7785 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.4861, allocations: 0.7753 MB / 0.7793 GB, free: 7.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007555/0.4869, allocations: 323.4 kB / 0.7796 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.4883, allocations: 1.139 MB / 0.7807 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008964/0.4892, allocations: 0.6849 MB / 0.7814 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.4898, allocations: 490.3 kB / 0.7818 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006752/0.4904, allocations: 0.4903 MB / 0.7823 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.4906, allocations: 68 kB / 0.7824 GB, free: 4.156 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.4911, allocations: 287.5 kB / 0.7826 GB, free: 3.875 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.4913, allocations: 239.2 kB / 0.7829 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003695/0.4917, allocations: 410 kB / 0.7833 GB, free: 3.238 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.4928, allocations: 1.081 MB / 0.7843 GB, free: 2.156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4928, allocations: 0 / 0.7843 GB, free: 2.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4928, allocations: 4 kB / 0.7843 GB, free: 2.152 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.4928, allocations: 0 / 0.7843 GB, free: 2.152 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001717/0.4945, allocations: 1.094 MB / 0.7854 GB, free: 1.008 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4946, allocations: 11.97 kB / 0.7854 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.4978, allocations: 0.6281 MB / 0.786 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008337/0.4987, allocations: 0.5736 MB / 0.7866 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.4987, allocations: 37.69 kB / 0.7866 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/0.4988, allocations: 60.11 kB / 0.7867 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.5008, allocations: 1.014 MB / 0.7877 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.5008, allocations: 0 / 0.7877 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/0.5009, allocations: 28 kB / 0.7877 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/0.501, allocations: 45.28 kB / 0.7877 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.5033, allocations: 1.012 MB / 0.7887 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.5073, allocations: 3.486 MB / 0.7921 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.5088, allocations: 497.8 kB / 0.7926 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.5094, allocations: 221.2 kB / 0.7928 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.5095, allocations: 7.984 kB / 0.7928 GB, free: 9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.5095, allocations: 42.48 kB / 0.7929 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.5095, allocations: 4 kB / 0.7929 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.006928/0.5164, allocations: 2.018 MB / 0.7948 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.5165, allocations: 55.41 kB / 0.7949 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.5171, allocations: 0.5704 MB / 0.7954 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.5172, allocations: 29.7 kB / 0.7955 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.5174, allocations: 364.2 kB / 0.7958 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.5176, allocations: 145.9 kB / 0.796 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.5177, allocations: 86.16 kB / 0.796 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5179, allocations: 370.8 kB / 0.7964 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006769/0.5186, allocations: 262.9 kB / 0.7966 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/0.5193, allocations: 365.8 kB / 0.797 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.5207, allocations: 0.6225 MB / 0.7976 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5207, allocations: 0 / 0.7976 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002342/0.523, allocations: 0.9353 MB / 0.7985 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5231, allocations: 4 kB / 0.7985 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5231, allocations: 4 kB / 0.7985 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.5242, allocations: 276.9 kB / 0.7988 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.5248, allocations: 111.8 kB / 0.7989 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007233/0.5321, allocations: 9.108 MB / 0.8078 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/0.5328, allocations: 44.02 kB / 0.8078 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.5328, allocations: 23.98 kB / 0.8078 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009522/0.5338, allocations: 439.4 kB / 0.8083 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007283/0.5345, allocations: 357.4 kB / 0.8086 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001367/0.5359, allocations: 0.6129 MB / 0.8092 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.434e-06/0.5359, allocations: 0 / 0.8092 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002525/0.5384, allocations: 1.117 MB / 0.8103 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5385, allocations: 8 kB / 0.8103 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5385, allocations: 7.938 kB / 0.8103 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000771/0.5393, allocations: 229.2 kB / 0.8105 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.5399, allocations: 115.8 kB / 0.8106 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006653/0.5465, allocations: 8.8 MB / 0.8192 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/0.5472, allocations: 47.88 kB / 0.8193 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.5473, allocations: 20 kB / 0.8193 GB, free: 11.79 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002228/0.5475, allocations: 213 kB / 0.8195 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.5477, allocations: 67.19 kB / 0.8196 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.5479, allocations: 82.38 kB / 0.8196 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5479, allocations: 3.984 kB / 0.8196 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5479, allocations: 0 / 0.8196 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.5482, allocations: 184.2 kB / 0.8198 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.5483, allocations: 7.938 kB / 0.8198 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.5489, allocations: 43.94 kB / 0.8199 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.549, allocations: 36.08 kB / 0.8199 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002798/0.5518, allocations: 0.9383 MB / 0.8208 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002201/0.554, allocations: 1.046 MB / 0.8218 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006574/0.5547, allocations: 268.4 kB / 0.8221 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004852/0.5552, allocations: 411 kB / 0.8225 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of Backend: time 6.61e-07/0.5552, allocations: 0 / 0.8225 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004018/0.5592, allocations: 2.328 MB / 0.8248 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002768/0.562, allocations: 1.889 MB / 0.8266 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of Templates: time 0.02742/0.5894, allocations: 16.41 MB / 0.8426 GB, free: 3.77 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)