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.001543/0.001543, allocations: 109.1 kB / 16.42 MB, free: 6.512 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.00178/0.00178, allocations: 187.9 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.323/1.323, 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.002168/0.002168, allocations: 288.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.9793/0.9793, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 95.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4343, allocations: 86.98 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.008626/0.4429, allocations: 6.276 MB / 0.7732 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006862/0.4498, allocations: 4.542 MB / 0.7776 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006597/0.4505, allocations: 23.88 kB / 0.7776 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.4531, allocations: 0.9064 MB / 0.7785 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.4553, allocations: 0.7908 MB / 0.7793 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000779/0.4561, allocations: 319.5 kB / 0.7796 GB, free: 7.055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.4576, allocations: 1.138 MB / 0.7807 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.4586, allocations: 0.6927 MB / 0.7814 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007609/0.4594, allocations: 478.4 kB / 0.7818 GB, free: 4.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008647/0.4603, allocations: 0.4981 MB / 0.7823 GB, free: 4.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.4605, allocations: 68 kB / 0.7824 GB, free: 4.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006112/0.4611, allocations: 279.5 kB / 0.7827 GB, free: 3.906 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.4614, allocations: 251.2 kB / 0.7829 GB, free: 3.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005601/0.4619, allocations: 413.9 kB / 0.7833 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.4632, allocations: 1.069 MB / 0.7843 GB, free: 2.184 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4632, allocations: 0 / 0.7843 GB, free: 2.184 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4632, allocations: 0 / 0.7843 GB, free: 2.184 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.4632, allocations: 0 / 0.7843 GB, free: 2.184 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.002225/0.4655, allocations: 1.098 MB / 0.7854 GB, free: 1.035 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4655, allocations: 8.031 kB / 0.7854 GB, free: 1.027 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/0.4689, allocations: 0.6281 MB / 0.786 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/0.4699, allocations: 0.5736 MB / 0.7866 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.47, allocations: 45.67 kB / 0.7866 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-05/0.4701, allocations: 52.12 kB / 0.7867 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.4721, allocations: 1.018 MB / 0.7877 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4721, allocations: 8 kB / 0.7877 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.389e-05/0.4722, allocations: 23.98 kB / 0.7877 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.4723, allocations: 49.28 kB / 0.7877 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.4747, allocations: 1 MB / 0.7887 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/0.4797, allocations: 3.49 MB / 0.7921 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.4813, allocations: 495 kB / 0.7926 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/0.4819, allocations: 229.2 kB / 0.7928 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.4819, allocations: 11.98 kB / 0.7928 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4819, allocations: 34.55 kB / 0.7929 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.355e-06/0.4819, allocations: 0 / 0.7929 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.007045/0.489, allocations: 2.01 MB / 0.7948 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.4891, allocations: 59.41 kB / 0.7949 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.4897, allocations: 0.5743 MB / 0.7954 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.4898, allocations: 29.7 kB / 0.7955 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.49, allocations: 360.2 kB / 0.7958 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.4901, allocations: 145.8 kB / 0.796 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.4903, allocations: 90.16 kB / 0.796 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4905, allocations: 374.8 kB / 0.7964 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007218/0.4912, allocations: 258.9 kB / 0.7966 GB, free: 5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007459/0.4919, allocations: 365.8 kB / 0.797 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.4934, allocations: 0.6264 MB / 0.7976 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4934, allocations: 0 / 0.7976 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002447/0.4959, allocations: 0.9312 MB / 0.7985 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4959, allocations: 10.5 kB / 0.7985 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4959, allocations: 0 / 0.7985 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.4971, allocations: 273.2 kB / 0.7988 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.4977, allocations: 123.8 kB / 0.7989 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007474/0.5052, allocations: 9.105 MB / 0.8078 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.5059, allocations: 43.95 kB / 0.8078 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/0.506, allocations: 16 kB / 0.8079 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009753/0.507, allocations: 447.4 kB / 0.8083 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007233/0.5077, allocations: 357.4 kB / 0.8086 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001374/0.5091, allocations: 0.6168 MB / 0.8092 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.5091, allocations: 0 / 0.8092 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00252/0.5116, allocations: 1.117 MB / 0.8103 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5117, allocations: 8 kB / 0.8103 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.5117, allocations: 11.88 kB / 0.8103 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008137/0.5125, allocations: 221.2 kB / 0.8105 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.5131, allocations: 123.8 kB / 0.8107 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006195/0.5193, allocations: 8.792 MB / 0.8193 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.52, allocations: 43.95 kB / 0.8193 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.52, allocations: 24.05 kB / 0.8193 GB, free: 11.81 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.0001979/0.5202, allocations: 213 kB / 0.8195 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.5204, allocations: 75.17 kB / 0.8196 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.5206, allocations: 74.38 kB / 0.8197 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.5206, allocations: 3.984 kB / 0.8197 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5206, allocations: 4 kB / 0.8197 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.5209, allocations: 184.2 kB / 0.8198 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.33e-05/0.521, allocations: 12 kB / 0.8199 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.5215, allocations: 31.95 kB / 0.8199 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.5216, allocations: 43.92 kB / 0.8199 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00271/0.5243, allocations: 0.9305 MB / 0.8208 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002184/0.5265, allocations: 1.038 MB / 0.8219 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006734/0.5272, allocations: 272.4 kB / 0.8221 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004614/0.5277, allocations: 403.1 kB / 0.8225 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of Backend: time 5.01e-07/0.5277, allocations: 0 / 0.8225 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003977/0.5317, allocations: 2.336 MB / 0.8248 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002613/0.5343, allocations: 1.904 MB / 0.8266 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of Templates: time 0.02583/0.5601, allocations: 16.39 MB / 0.8426 GB, free: 3.805 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)