Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009453/0.0009453, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00636/0.006361, allocations: 170 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005742/0.0005742, allocations: 17.56 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2801, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007303/0.2875, allocations: 5.827 MB / 0.7936 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006569/0.2941, allocations: 4.497 MB / 0.7979 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.2946, allocations: 19.88 kB / 0.798 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.2951, allocations: 150.9 kB / 0.7981 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.2969, allocations: 0.7216 MB / 0.7988 GB, free: 352 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.2976, allocations: 287.6 kB / 0.7991 GB, free: 64 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.2991, allocations: 1.433 MB / 0.8005 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006885/0.2998, allocations: 0.538 MB / 0.801 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000487/0.3003, allocations: 394.4 kB / 0.8014 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006275/0.301, allocations: 478 kB / 0.8018 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.957e-05/0.301, allocations: 32 kB / 0.8019 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.3016, allocations: 307.4 kB / 0.8022 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.3018, allocations: 203.3 kB / 0.8024 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.3021, allocations: 391.6 kB / 0.8027 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009867/0.3031, allocations: 1.039 MB / 0.8038 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3031, allocations: 0 / 0.8038 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3032, allocations: 0 / 0.8038 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.3032, allocations: 4 kB / 0.8038 GB, free: 11.24 MB / 0.6231 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.001576/0.3048, allocations: 0.9584 MB / 0.8047 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3048, allocations: 11.97 kB / 0.8047 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.308, allocations: 0.6514 MB / 0.8053 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.3088, allocations: 0.554 MB / 0.8059 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.3088, allocations: 37.69 kB / 0.8059 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.3089, allocations: 56.11 kB / 0.806 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.3109, allocations: 1.026 MB / 0.807 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3109, allocations: 3.938 kB / 0.807 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/0.311, allocations: 24 kB / 0.807 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.185e-05/0.3111, allocations: 41.3 kB / 0.807 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.3134, allocations: 1.02 MB / 0.808 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/0.3176, allocations: 3.517 MB / 0.8115 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.3191, allocations: 0.5179 MB / 0.812 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005781/0.3197, allocations: 244.7 kB / 0.8122 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.3198, allocations: 11.92 kB / 0.8122 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3198, allocations: 34.56 kB / 0.8123 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.3198, allocations: 4 kB / 0.8123 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.007249/0.3271, allocations: 2.233 MB / 0.8144 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.3271, allocations: 59.34 kB / 0.8145 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007615/0.3279, allocations: 0.5705 MB / 0.8151 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.328, allocations: 29.7 kB / 0.8151 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.3282, allocations: 356.2 kB / 0.8154 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.3284, allocations: 149.8 kB / 0.8156 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.3285, allocations: 45.69 kB / 0.8156 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3287, allocations: 378.7 kB / 0.816 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007096/0.3294, allocations: 272.9 kB / 0.8162 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008553/0.3303, allocations: 385.8 kB / 0.8166 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.3318, allocations: 0.6733 MB / 0.8173 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3318, allocations: 4 kB / 0.8173 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002478/0.3343, allocations: 0.9817 MB / 0.8182 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.3344, allocations: 172.5 kB / 0.8184 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.3345, allocations: 11.98 kB / 0.8184 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.3357, allocations: 276.8 kB / 0.8187 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.3363, allocations: 123.8 kB / 0.8188 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008408/0.3448, allocations: 8.486 MB / 0.8271 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007389/0.3455, allocations: 51.95 kB / 0.8271 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.3456, allocations: 19.98 kB / 0.8271 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3456, allocations: 4 kB / 0.8271 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0026/0.3482, allocations: 1.097 MB / 0.8282 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3482, allocations: 0 / 0.8282 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007702/0.349, allocations: 221.4 kB / 0.8284 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/0.3496, allocations: 139.8 kB / 0.8285 GB, free: 244 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006733/0.3564, allocations: 8.169 MB / 0.8365 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006719/0.3571, allocations: 55.94 kB / 0.8366 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.3571, allocations: 20 kB / 0.8366 GB, free: 7.195 MB / 0.6544 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.0004439/0.3576, allocations: 313 kB / 0.8369 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.3577, allocations: 63.25 kB / 0.837 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.3579, allocations: 82.36 kB / 0.837 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3579, allocations: 4 kB / 0.837 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.3579, allocations: 7.938 kB / 0.837 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3579, allocations: 0 / 0.837 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008482/0.3588, allocations: 0.6455 MB / 0.8377 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3588, allocations: 4 kB / 0.8377 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.3593, allocations: 99.86 kB / 0.8378 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009916/0.3603, allocations: 269 kB / 0.838 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.3603, allocations: 8 kB / 0.838 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007018/0.3674, allocations: 8.428 MB / 0.8463 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3674, allocations: 0 / 0.8463 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.3698, allocations: 0.9638 MB / 0.8472 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.3701, allocations: 184.3 kB / 0.8474 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.3701, allocations: 11.94 kB / 0.8474 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/0.3707, allocations: 55.95 kB / 0.8475 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.3708, allocations: 35.94 kB / 0.8475 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.3708, allocations: 12 kB / 0.8475 GB, free: 11.09 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004908/0.3713, allocations: 407.1 kB / 0.8479 GB, free: 10.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3713, allocations: 0 / 0.8479 GB, free: 10.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001085/0.3724, allocations: 300 kB / 0.8482 GB, free: 10.41 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (31): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.0001631/0.3726, allocations: 107.2 kB / 0.8483 GB, free: 10.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003971/0.3766, allocations: 2.414 MB / 0.8506 GB, free: 7.727 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3766, allocations: 3.938 kB / 0.8506 GB, free: 7.723 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.3781, allocations: 1.031 MB / 0.8516 GB, free: 6.613 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.3791, allocations: 206.3 kB / 0.8518 GB, free: 6.41 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.3816, allocations: 1.601 MB / 0.8534 GB, free: 4.777 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005929/0.3822, allocations: 0.9821 MB / 0.8544 GB, free: 3.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005488/0.3828, allocations: 153.3 kB / 0.8545 GB, free: 3.617 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.3829, allocations: 39.44 kB / 0.8545 GB, free: 3.582 MB / 0.67 GB Notification: Performance of SimCode: time 8.51e-07/0.3829, allocations: 0 / 0.8545 GB, free: 3.582 MB / 0.67 GB Notification: Performance of Templates: time 0.02177/0.4047, allocations: 12.86 MB / 0.8671 GB, free: 6.859 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) Environment - environmentSimulation: